rivetkit 2.3.11-rc.7 → 2.3.11-rc.9

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 (58) 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-2EPCTV3V.cjs → chunk-6SBPWTXJ.cjs} +9 -9
  10. package/dist/tsup/{chunk-2EPCTV3V.cjs.map → chunk-6SBPWTXJ.cjs.map} +1 -1
  11. package/dist/tsup/{chunk-OJUVQ2F4.cjs → chunk-BZWKY6WO.cjs} +138 -138
  12. package/dist/tsup/{chunk-OJUVQ2F4.cjs.map → chunk-BZWKY6WO.cjs.map} +1 -1
  13. package/dist/tsup/{chunk-RZFEJKIS.js → chunk-C5TORAVP.js} +2 -2
  14. package/dist/tsup/{chunk-OISWZDAF.js → chunk-HOZ3ZLZ2.js} +3 -3
  15. package/dist/tsup/{chunk-BC7SLXCY.cjs → chunk-IMRDHZM2.cjs} +4 -4
  16. package/dist/tsup/{chunk-BC7SLXCY.cjs.map → chunk-IMRDHZM2.cjs.map} +1 -1
  17. package/dist/tsup/{chunk-HODZKZZE.js → chunk-IOLZ3ONU.js} +3 -3
  18. package/dist/tsup/{chunk-XAGDGH4O.js → chunk-LZ4TSBIP.js} +2 -2
  19. package/dist/tsup/{chunk-XAGDGH4O.js.map → chunk-LZ4TSBIP.js.map} +1 -1
  20. package/dist/tsup/{chunk-5TWP5HIG.js → chunk-QVCO6DTZ.js} +3 -3
  21. package/dist/tsup/{chunk-2HVKCDDH.cjs → chunk-T56IZ42M.cjs} +2 -2
  22. package/dist/tsup/{chunk-2HVKCDDH.cjs.map → chunk-T56IZ42M.cjs.map} +1 -1
  23. package/dist/tsup/{chunk-M35WIZ7C.cjs → chunk-T5XVTVQY.cjs} +3 -3
  24. package/dist/tsup/{chunk-M35WIZ7C.cjs.map → chunk-T5XVTVQY.cjs.map} +1 -1
  25. package/dist/tsup/{chunk-OG3KYH7X.cjs → chunk-V5CVATRU.cjs} +7 -7
  26. package/dist/tsup/{chunk-OG3KYH7X.cjs.map → chunk-V5CVATRU.cjs.map} +1 -1
  27. package/dist/tsup/{chunk-B7N2TMLF.js → chunk-XOOESJY7.js} +2 -2
  28. package/dist/tsup/client/mod.cjs +5 -5
  29. package/dist/tsup/client/mod.js +4 -4
  30. package/dist/tsup/common/log.cjs +2 -2
  31. package/dist/tsup/common/log.js +1 -1
  32. package/dist/tsup/common/websocket.cjs +3 -3
  33. package/dist/tsup/common/websocket.js +2 -2
  34. package/dist/tsup/db/drizzle.cjs +2 -2
  35. package/dist/tsup/db/drizzle.js +1 -1
  36. package/dist/tsup/db/mod.cjs +2 -2
  37. package/dist/tsup/db/mod.js +1 -1
  38. package/dist/tsup/inspector/mod.cjs +4 -4
  39. package/dist/tsup/inspector/mod.js +3 -3
  40. package/dist/tsup/mod.cjs +171 -73
  41. package/dist/tsup/mod.cjs.map +1 -1
  42. package/dist/tsup/mod.js +111 -13
  43. package/dist/tsup/mod.js.map +1 -1
  44. package/dist/tsup/test/mod.cjs +6 -6
  45. package/dist/tsup/test/mod.js +4 -4
  46. package/dist/tsup/utils.cjs +2 -2
  47. package/dist/tsup/utils.js +1 -1
  48. package/dist/tsup/workflow/mod.cjs +6 -6
  49. package/dist/tsup/workflow/mod.cjs.map +1 -1
  50. package/dist/tsup/workflow/mod.js +3 -3
  51. package/package.json +8 -8
  52. package/src/registry/native.ts +45 -8
  53. package/src/registry/write-through-proxy.ts +101 -0
  54. /package/dist/tsup/{chunk-RZFEJKIS.js.map → chunk-C5TORAVP.js.map} +0 -0
  55. /package/dist/tsup/{chunk-OISWZDAF.js.map → chunk-HOZ3ZLZ2.js.map} +0 -0
  56. /package/dist/tsup/{chunk-HODZKZZE.js.map → chunk-IOLZ3ONU.js.map} +0 -0
  57. /package/dist/tsup/{chunk-5TWP5HIG.js.map → chunk-QVCO6DTZ.js.map} +0 -0
  58. /package/dist/tsup/{chunk-B7N2TMLF.js.map → chunk-XOOESJY7.js.map} +0 -0
package/dist/tsup/mod.cjs CHANGED
@@ -1,5 +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 _chunkIMRDHZM2cjs = require('./chunk-IMRDHZM2.cjs');
3
4
 
4
5
 
5
6
 
@@ -9,10 +10,9 @@
9
10
 
10
11
 
11
12
 
12
- var _chunkHNHLBM3Ycjs = require('./chunk-HNHLBM3Y.cjs');
13
13
 
14
14
 
15
- var _chunkBC7SLXCYcjs = require('./chunk-BC7SLXCY.cjs');
15
+ var _chunkHNHLBM3Ycjs = require('./chunk-HNHLBM3Y.cjs');
16
16
 
17
17
 
18
18
 
@@ -23,12 +23,12 @@ var _chunkBC7SLXCYcjs = require('./chunk-BC7SLXCY.cjs');
23
23
 
24
24
 
25
25
 
26
- var _chunkOJUVQ2F4cjs = require('./chunk-OJUVQ2F4.cjs');
26
+ var _chunkBZWKY6WOcjs = require('./chunk-BZWKY6WO.cjs');
27
27
 
28
28
 
29
29
 
30
30
  var _chunkMYWZCDMLcjs = require('./chunk-MYWZCDML.cjs');
31
- require('./chunk-M35WIZ7C.cjs');
31
+ require('./chunk-T5XVTVQY.cjs');
32
32
  require('./chunk-UEULFXUI.cjs');
33
33
 
34
34
 
@@ -62,7 +62,7 @@ require('./chunk-UEULFXUI.cjs');
62
62
 
63
63
 
64
64
 
65
- var _chunk2HVKCDDHcjs = require('./chunk-2HVKCDDH.cjs');
65
+ var _chunkT56IZ42Mcjs = require('./chunk-T56IZ42M.cjs');
66
66
 
67
67
 
68
68
 
@@ -78,7 +78,7 @@ var _chunk4FC7TVS6cjs = require('./chunk-4FC7TVS6.cjs');
78
78
 
79
79
  // src/actor/log.ts
80
80
  function loggerWithoutContext() {
81
- return _chunk2HVKCDDHcjs.getLogger.call(void 0, "actor-runtime");
81
+ return _chunkT56IZ42Mcjs.getLogger.call(void 0, "actor-runtime");
82
82
  }
83
83
 
84
84
  // src/actor/definition.ts
@@ -218,7 +218,7 @@ function validateSchemaSync(schemas, key, data) {
218
218
  var _virtualwebsocket = require('@rivetkit/virtual-websocket');
219
219
  var _ws = require('hono/ws');
220
220
  function logger() {
221
- return _chunk2HVKCDDHcjs.getLogger.call(void 0, "inline-websocket-adapter");
221
+ return _chunkT56IZ42Mcjs.getLogger.call(void 0, "inline-websocket-adapter");
222
222
  }
223
223
  var InlineWebSocketAdapter = class {
224
224
  #handler;
@@ -389,7 +389,7 @@ function isLocalEngineEndpoint(endpoint) {
389
389
 
390
390
  // src/registry/log.ts
391
391
  function logger2() {
392
- return _chunk2HVKCDDHcjs.getLogger.call(void 0, "registry");
392
+ return _chunkT56IZ42Mcjs.getLogger.call(void 0, "registry");
393
393
  }
394
394
 
395
395
  // src/serverless/configure.ts
@@ -435,8 +435,8 @@ async function configureServerlessPool(config) {
435
435
  );
436
436
  }
437
437
  const customConfig = config.configurePool;
438
- const clientConfig = _chunkOJUVQ2F4cjs.convertRegistryConfigToClientConfig.call(void 0, config);
439
- const dcsRes = await _chunkOJUVQ2F4cjs.getDatacenters.call(void 0, clientConfig);
438
+ const clientConfig = _chunkBZWKY6WOcjs.convertRegistryConfigToClientConfig.call(void 0, config);
439
+ const dcsRes = await _chunkBZWKY6WOcjs.getDatacenters.call(void 0, clientConfig);
440
440
  const poolName = _nullishCoalesce(customConfig.name, () => ( "default"));
441
441
  const serverlessToken = _nullishCoalesce(config.token, () => ( config.publicToken));
442
442
  const headers = {
@@ -458,7 +458,7 @@ async function configureServerlessPool(config) {
458
458
  metadata: _nullishCoalesce(customConfig.metadata, () => ( {})),
459
459
  drain_on_version_upgrade: _nullishCoalesce(customConfig.drainOnVersionUpgrade, () => ( true))
460
460
  };
461
- await _chunkOJUVQ2F4cjs.updateRunnerConfig.call(void 0, clientConfig, poolName, {
461
+ await _chunkBZWKY6WOcjs.updateRunnerConfig.call(void 0, clientConfig, poolName, {
462
462
  datacenters: Object.fromEntries(
463
463
  dcsRes.datacenters.map((dc) => [dc.name, serverlessConfig])
464
464
  )
@@ -475,7 +475,7 @@ async function configureServerlessPool(config) {
475
475
  logger2().warn({
476
476
  msg: "serverless pool configuration attempt failed",
477
477
  attempts,
478
- error: _chunk2HVKCDDHcjs.stringifyError.call(void 0, error)
478
+ error: _chunkT56IZ42Mcjs.stringifyError.call(void 0, error)
479
479
  });
480
480
  await sleep(CONFIGURE_RETRY_DELAY_MS);
481
481
  }
@@ -483,7 +483,7 @@ async function configureServerlessPool(config) {
483
483
  logger2().error({
484
484
  msg: "failed to configure serverless pool, validate endpoint is configured correctly then restart this process",
485
485
  attempts,
486
- error: _chunk2HVKCDDHcjs.stringifyError.call(void 0, lastError)
486
+ error: _chunkT56IZ42Mcjs.stringifyError.call(void 0, lastError)
487
487
  });
488
488
  throw lastError;
489
489
  }
@@ -495,20 +495,20 @@ var _zod = require('zod');
495
495
  var _v4 = require('zod/v4');
496
496
  var warnedMissingVersion = false;
497
497
  var EnvoyConfigSchema = _v4.z.object({
498
- poolName: _v4.z.string().default(() => _nullishCoalesce(_chunk2HVKCDDHcjs.getRivetPool.call(void 0, ), () => ( "default"))),
498
+ poolName: _v4.z.string().default(() => _nullishCoalesce(_chunkT56IZ42Mcjs.getRivetPool.call(void 0, ), () => ( "default"))),
499
499
  version: _v4.z.number().default(() => {
500
- const version = _chunk2HVKCDDHcjs.getRivetEnvoyVersion.call(void 0, );
500
+ const version = _chunkT56IZ42Mcjs.getRivetEnvoyVersion.call(void 0, );
501
501
  if (version !== void 0) return version;
502
- if (_chunk2HVKCDDHcjs.getNodeEnv.call(void 0, ) === "production" && !warnedMissingVersion) {
502
+ if (_chunkT56IZ42Mcjs.getNodeEnv.call(void 0, ) === "production" && !warnedMissingVersion) {
503
503
  warnedMissingVersion = true;
504
- _chunk2HVKCDDHcjs.getLogger.call(void 0, "rivetkit").error(
504
+ _chunkT56IZ42Mcjs.getLogger.call(void 0, "rivetkit").error(
505
505
  "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"
506
506
  );
507
507
  }
508
508
  return 1;
509
509
  }),
510
510
  // Deprecated.
511
- totalSlots: _v4.z.number().default(() => _nullishCoalesce(_chunk2HVKCDDHcjs.getRivetTotalSlots.call(void 0, ), () => ( 1e5))),
511
+ totalSlots: _v4.z.number().default(() => _nullishCoalesce(_chunkT56IZ42Mcjs.getRivetTotalSlots.call(void 0, ), () => ( 1e5))),
512
512
  envoyKey: _v4.z.string().optional()
513
513
  });
514
514
 
@@ -546,7 +546,7 @@ var ServerlessConfigSchema = _v4.z.object({
546
546
  *
547
547
  * Can also be set via RIVET_PUBLIC_ENDPOINT environment variable.
548
548
  */
549
- publicEndpoint: _v4.z.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunk2HVKCDDHcjs.getRivetPublicEndpoint.call(void 0, )))),
549
+ publicEndpoint: _v4.z.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunkT56IZ42Mcjs.getRivetPublicEndpoint.call(void 0, )))),
550
550
  /**
551
551
  * Token that clients should use when connecting via the public endpoint.
552
552
  *
@@ -554,7 +554,7 @@ var ServerlessConfigSchema = _v4.z.object({
554
554
  *
555
555
  * Can also be specified in the publicEndpoint URL as `https://namespace:token@host`.
556
556
  */
557
- publicToken: _v4.z.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunk2HVKCDDHcjs.getRivetPublicToken.call(void 0, ))))
557
+ publicToken: _v4.z.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunkT56IZ42Mcjs.getRivetPublicToken.call(void 0, ))))
558
558
  // There is no publicNamespace config option because the frontend and backend
559
559
  // cannot use different namespaces. The namespace is extracted from the
560
560
  // publicEndpoint URL auth syntax if provided.
@@ -608,7 +608,7 @@ var RegistryConfigSchema = _zod.z.object({
608
608
  * Runtime binding to use for RivetKit core.
609
609
  * */
610
610
  runtime: RuntimeKindSchema.optional().transform((val, ctx) => {
611
- const rawRuntime = _nullishCoalesce(val, () => ( _chunk2HVKCDDHcjs.getRivetkitRuntime.call(void 0, )));
611
+ const rawRuntime = _nullishCoalesce(val, () => ( _chunkT56IZ42Mcjs.getRivetkitRuntime.call(void 0, )));
612
612
  if (rawRuntime === void 0) {
613
613
  return "auto";
614
614
  }
@@ -645,7 +645,7 @@ var RegistryConfigSchema = _zod.z.object({
645
645
  * */
646
646
  logging: _zod.z.object({
647
647
  baseLogger: _zod.z.custom().optional(),
648
- level: _chunk2HVKCDDHcjs.LogLevelSchema.optional()
648
+ level: _chunkT56IZ42Mcjs.LogLevelSchema.optional()
649
649
  }).optional().default(() => ({})),
650
650
  // MARK: Routing
651
651
  // // This is a function to allow for lazy configuration of upgradeWebSocket on the
@@ -663,9 +663,9 @@ var RegistryConfigSchema = _zod.z.object({
663
663
  *
664
664
  * Can also be set via RIVET_ENDPOINT environment variables.
665
665
  */
666
- endpoint: _zod.z.string().optional().transform((val) => _nullishCoalesce(_nullishCoalesce(val, () => ( _chunk2HVKCDDHcjs.getRivetEngine.call(void 0, ))), () => ( _chunk2HVKCDDHcjs.getRivetEndpoint.call(void 0, )))),
667
- token: _zod.z.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunk2HVKCDDHcjs.getRivetToken.call(void 0, )))),
668
- namespace: _zod.z.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunk2HVKCDDHcjs.getRivetNamespace.call(void 0, )))),
666
+ endpoint: _zod.z.string().optional().transform((val) => _nullishCoalesce(_nullishCoalesce(val, () => ( _chunkT56IZ42Mcjs.getRivetEngine.call(void 0, ))), () => ( _chunkT56IZ42Mcjs.getRivetEndpoint.call(void 0, )))),
667
+ token: _zod.z.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunkT56IZ42Mcjs.getRivetToken.call(void 0, )))),
668
+ namespace: _zod.z.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunkT56IZ42Mcjs.getRivetNamespace.call(void 0, )))),
669
669
  headers: _zod.z.record(_zod.z.string(), _zod.z.string()).optional().default({}),
670
670
  // MARK: Client
671
671
  // TODO:
@@ -705,21 +705,21 @@ var RegistryConfigSchema = _zod.z.object({
705
705
  *
706
706
  * Starts the full Rust engine process locally.
707
707
  */
708
- startEngine: _zod.z.boolean().default(() => _chunk2HVKCDDHcjs.getRivetRunEngine.call(void 0, )),
708
+ startEngine: _zod.z.boolean().default(() => _chunkT56IZ42Mcjs.getRivetRunEngine.call(void 0, )),
709
709
  /**
710
710
  * @experimental
711
711
  *
712
712
  * Host to bind the spawned local engine process to.
713
713
  */
714
- engineHost: _zod.z.string().optional().default(() => _nullishCoalesce(_chunk2HVKCDDHcjs.getRivetRunEngineHost.call(void 0, ), () => ( ENGINE_HOST))),
714
+ engineHost: _zod.z.string().optional().default(() => _nullishCoalesce(_chunkT56IZ42Mcjs.getRivetRunEngineHost.call(void 0, ), () => ( ENGINE_HOST))),
715
715
  /**
716
716
  * @experimental
717
717
  *
718
718
  * Port to bind the spawned local engine process to.
719
719
  */
720
- enginePort: _zod.z.number().int().min(1).max(65535).optional().default(() => _nullishCoalesce(_chunk2HVKCDDHcjs.getRivetRunEnginePort.call(void 0, ), () => ( ENGINE_PORT))),
720
+ enginePort: _zod.z.number().int().min(1).max(65535).optional().default(() => _nullishCoalesce(_chunkT56IZ42Mcjs.getRivetRunEnginePort.call(void 0, ), () => ( ENGINE_PORT))),
721
721
  /** @experimental */
722
- engineVersion: _zod.z.string().optional().default(() => _nullishCoalesce(_chunk2HVKCDDHcjs.getRivetRunEngineVersion.call(void 0, ), () => ( _chunk2HVKCDDHcjs.VERSION))),
722
+ engineVersion: _zod.z.string().optional().default(() => _nullishCoalesce(_chunkT56IZ42Mcjs.getRivetRunEngineVersion.call(void 0, ), () => ( _chunkT56IZ42Mcjs.VERSION))),
723
723
  /**
724
724
  * @experimental
725
725
  *
@@ -767,7 +767,7 @@ var RegistryConfigSchema = _zod.z.object({
767
767
  }))
768
768
  }).transform((config, ctx) => {
769
769
  var _a, _b, _c;
770
- const isDevEnv = _chunk2HVKCDDHcjs.isDev.call(void 0, );
770
+ const isDevEnv = _chunkT56IZ42Mcjs.isDev.call(void 0, );
771
771
  const sqliteBackend = _nullishCoalesce(((_a = config.sqlite) == null ? void 0 : _a.backend), () => ( ((_b = config.test) == null ? void 0 : _b.sqliteBackend)));
772
772
  if (config.runtime === "wasm" && sqliteBackend === "local") {
773
773
  ctx.addIssue({
@@ -777,7 +777,7 @@ var RegistryConfigSchema = _zod.z.object({
777
777
  });
778
778
  }
779
779
  const sqlite = config.runtime === "wasm" && config.sqlite === void 0 ? { backend: "remote" } : config.sqlite;
780
- const parsedEndpoint = config.endpoint ? _chunkOJUVQ2F4cjs.tryParseEndpoint.call(void 0, ctx, {
780
+ const parsedEndpoint = config.endpoint ? _chunkBZWKY6WOcjs.tryParseEndpoint.call(void 0, ctx, {
781
781
  endpoint: config.endpoint,
782
782
  path: ["endpoint"],
783
783
  namespace: config.namespace,
@@ -805,7 +805,7 @@ var RegistryConfigSchema = _zod.z.object({
805
805
  );
806
806
  const namespace = _nullishCoalesce(_nullishCoalesce((parsedEndpoint == null ? void 0 : parsedEndpoint.namespace), () => ( config.namespace)), () => ( "default"));
807
807
  const token = _nullishCoalesce((parsedEndpoint == null ? void 0 : parsedEndpoint.token), () => ( config.token));
808
- const parsedPublicEndpoint = config.serverless.publicEndpoint ? _chunkOJUVQ2F4cjs.tryParseEndpoint.call(void 0, ctx, {
808
+ const parsedPublicEndpoint = config.serverless.publicEndpoint ? _chunkBZWKY6WOcjs.tryParseEndpoint.call(void 0, ctx, {
809
809
  endpoint: config.serverless.publicEndpoint,
810
810
  path: ["serverless", "publicEndpoint"]
811
811
  }) : void 0;
@@ -908,7 +908,7 @@ var DocRegistryConfigSchema = _zod.z.object({
908
908
  noWelcome: _zod.z.boolean().optional().describe("Disable the welcome message on startup. Default: false"),
909
909
  sqlite: DocSqliteConfigSchema,
910
910
  logging: _zod.z.object({
911
- level: _chunk2HVKCDDHcjs.LogLevelSchema.optional().describe(
911
+ level: _chunkT56IZ42Mcjs.LogLevelSchema.optional().describe(
912
912
  "Log level for RivetKit. Default: 'warn'"
913
913
  )
914
914
  }).optional().describe("Logging configuration."),
@@ -2795,6 +2795,83 @@ function createWriteThroughProxy(value, commit, beforeChange) {
2795
2795
  }
2796
2796
  );
2797
2797
  }
2798
+ function unwrapProxy(value) {
2799
+ let current = value;
2800
+ while (current !== null && typeof current === "object") {
2801
+ const target = _onchange2.default.target(current);
2802
+ if (target === current) {
2803
+ break;
2804
+ }
2805
+ current = target;
2806
+ }
2807
+ return current;
2808
+ }
2809
+ function isPlainObject(value) {
2810
+ const proto = Object.getPrototypeOf(value);
2811
+ return proto === Object.prototype || proto === null;
2812
+ }
2813
+ function unwrapDeep(value, seen) {
2814
+ const unwrapped = unwrapProxy(value);
2815
+ if (!unwrapped || typeof unwrapped !== "object") {
2816
+ return unwrapped;
2817
+ }
2818
+ if (seen.has(unwrapped)) {
2819
+ return unwrapped;
2820
+ }
2821
+ seen.add(unwrapped);
2822
+ if (Array.isArray(unwrapped)) {
2823
+ for (let i = 0; i < unwrapped.length; i++) {
2824
+ const child = unwrapDeep(unwrapped[i], seen);
2825
+ if (child !== unwrapped[i]) {
2826
+ unwrapped[i] = child;
2827
+ }
2828
+ }
2829
+ return unwrapped;
2830
+ }
2831
+ if (unwrapped instanceof Map) {
2832
+ const replacements = [];
2833
+ for (const [key, child] of unwrapped.entries()) {
2834
+ const nextKey = unwrapDeep(key, seen);
2835
+ const nextChild = unwrapDeep(child, seen);
2836
+ if (nextKey !== key || nextChild !== child) {
2837
+ replacements.push([key, nextKey, nextChild]);
2838
+ }
2839
+ }
2840
+ for (const [key, nextKey, nextChild] of replacements) {
2841
+ if (nextKey !== key) {
2842
+ unwrapped.delete(key);
2843
+ }
2844
+ unwrapped.set(nextKey, nextChild);
2845
+ }
2846
+ return unwrapped;
2847
+ }
2848
+ if (unwrapped instanceof Set) {
2849
+ const replacements = [];
2850
+ for (const child of unwrapped.values()) {
2851
+ const next = unwrapDeep(child, seen);
2852
+ if (next !== child) {
2853
+ replacements.push([child, next]);
2854
+ }
2855
+ }
2856
+ for (const [child, next] of replacements) {
2857
+ unwrapped.delete(child);
2858
+ unwrapped.add(next);
2859
+ }
2860
+ return unwrapped;
2861
+ }
2862
+ if (isPlainObject(unwrapped)) {
2863
+ for (const key of Object.keys(unwrapped)) {
2864
+ const child = unwrapDeep(unwrapped[key], seen);
2865
+ if (child !== unwrapped[key]) {
2866
+ unwrapped[key] = child;
2867
+ }
2868
+ }
2869
+ }
2870
+ return unwrapped;
2871
+ }
2872
+ function unwrapWriteThroughProxy(value) {
2873
+ return unwrapDeep(value, /* @__PURE__ */ new Set());
2874
+ }
2798
2875
 
2799
2876
  // src/registry/native.ts
2800
2877
  var textEncoder = new TextEncoder();
@@ -3019,7 +3096,7 @@ async function cleanupNativeSleepRuntimeState(runtime, ctx, afterTrackedWorkDrai
3019
3096
  }).catch((error) => {
3020
3097
  logger2().warn({
3021
3098
  msg: "deferred native sleep cleanup failed",
3022
- error: _chunk2HVKCDDHcjs.stringifyError.call(void 0, error)
3099
+ error: _chunkT56IZ42Mcjs.stringifyError.call(void 0, error)
3023
3100
  });
3024
3101
  });
3025
3102
  return;
@@ -3146,10 +3223,10 @@ function decodeValue(value) {
3146
3223
  if (!value || value.length === 0) {
3147
3224
  return void 0;
3148
3225
  }
3149
- return _chunk2HVKCDDHcjs.decodeCborCompat.call(void 0, value);
3226
+ return _chunkT56IZ42Mcjs.decodeCborCompat.call(void 0, value);
3150
3227
  }
3151
3228
  function encodeValue(value) {
3152
- return _chunk2HVKCDDHcjs.encodeCborCompat.call(void 0, value);
3229
+ return _chunkT56IZ42Mcjs.encodeCborCompat.call(void 0, value);
3153
3230
  }
3154
3231
  function normalizeArgs(value) {
3155
3232
  return Array.isArray(value) ? value : value === void 0 || value === null ? [] : [value];
@@ -3185,7 +3262,7 @@ function isStructuredBridgeError(error) {
3185
3262
  return _chunk4FC7TVS6cjs.isRivetErrorLike.call(void 0, error) && "__type" in error && (error.__type === "RivetError" || error.__type === "ActorError");
3186
3263
  }
3187
3264
  function encodeNativeCallbackError(error) {
3188
- const structuredError = isStructuredBridgeError(error) ? error : _chunk2HVKCDDHcjs.deconstructError.call(void 0, error, true);
3265
+ const structuredError = isStructuredBridgeError(error) ? error : _chunkT56IZ42Mcjs.deconstructError.call(void 0, error, true);
3189
3266
  const bridgeError = new Error(_chunk4FC7TVS6cjs.encodeBridgeRivetError.call(void 0, structuredError), {
3190
3267
  cause: error instanceof Error ? error : void 0
3191
3268
  });
@@ -3235,7 +3312,7 @@ function decodeWorkflowCbor(data) {
3235
3312
  return null;
3236
3313
  }
3237
3314
  try {
3238
- return _chunk2HVKCDDHcjs.decodeCborCompat.call(void 0, new Uint8Array(data));
3315
+ return _chunkT56IZ42Mcjs.decodeCborCompat.call(void 0, new Uint8Array(data));
3239
3316
  } catch (e5) {
3240
3317
  return null;
3241
3318
  }
@@ -3348,7 +3425,7 @@ function serializeWorkflowHistoryForJson(data) {
3348
3425
  if (data === null) {
3349
3426
  return null;
3350
3427
  }
3351
- const history = _chunkBC7SLXCYcjs.decodeWorkflowHistoryTransport.call(void 0, data);
3428
+ const history = _chunkIMRDHZM2cjs.decodeWorkflowHistoryTransport.call(void 0, data);
3352
3429
  return jsonSafe({
3353
3430
  nameRegistry: [...history.nameRegistry],
3354
3431
  entries: history.entries.map((entry) => ({
@@ -3483,22 +3560,40 @@ var NativeConnAdapter = class {
3483
3560
  }
3484
3561
  get state() {
3485
3562
  const nextState = this.#readState();
3563
+ if (!this.#ctx) {
3564
+ return this.#createStateProxy(nextState);
3565
+ }
3566
+ const connState = getNativeConnPersistState(
3567
+ this.#runtime,
3568
+ this.#ctx,
3569
+ this.#conn
3570
+ );
3571
+ if (connState.stateProxy === void 0 || connState.stateProxyTarget !== nextState) {
3572
+ connState.stateProxyTarget = nextState;
3573
+ connState.stateProxy = this.#createStateProxy(nextState);
3574
+ }
3575
+ return connState.stateProxy;
3576
+ }
3577
+ #createStateProxy(state) {
3486
3578
  return createWriteThroughProxy(
3487
- nextState,
3579
+ state,
3488
3580
  (nextValue) => {
3489
3581
  this.#writeState(nextValue, { writeNative: true });
3490
3582
  },
3491
3583
  (newValue) => {
3492
- _chunk2HVKCDDHcjs.assertJsonCompatValue.call(void 0, newValue);
3584
+ _chunkT56IZ42Mcjs.assertJsonCompatValue.call(void 0, newValue);
3493
3585
  }
3494
3586
  );
3495
3587
  }
3496
3588
  set state(value) {
3497
- _chunk2HVKCDDHcjs.assertJsonCompatValue.call(void 0, value);
3498
- this.#writeState(value, { writeNative: true });
3589
+ const nextValue = unwrapWriteThroughProxy(value);
3590
+ _chunkT56IZ42Mcjs.assertJsonCompatValue.call(void 0, nextValue);
3591
+ this.#writeState(nextValue, { writeNative: true });
3499
3592
  }
3500
3593
  initializeState(value) {
3501
- this.#writeState(value, { writeNative: false });
3594
+ this.#writeState(unwrapWriteThroughProxy(value), {
3595
+ writeNative: false
3596
+ });
3502
3597
  }
3503
3598
  get isHibernatable() {
3504
3599
  return callNativeSync(
@@ -4540,7 +4635,7 @@ var ActorContextHandleAdapter = class {
4540
4635
  },
4541
4636
  (newValue) => {
4542
4637
  this.#assertCanMutateState();
4543
- _chunk2HVKCDDHcjs.assertJsonCompatValue.call(void 0, newValue);
4638
+ _chunkT56IZ42Mcjs.assertJsonCompatValue.call(void 0, newValue);
4544
4639
  }
4545
4640
  );
4546
4641
  }
@@ -4551,14 +4646,17 @@ var ActorContextHandleAdapter = class {
4551
4646
  throw stateNotEnabledError();
4552
4647
  }
4553
4648
  this.#assertCanMutateState();
4554
- _chunk2HVKCDDHcjs.assertJsonCompatValue.call(void 0, value);
4555
- this.#writeState(value, { scheduleSave: true });
4649
+ const nextValue = unwrapWriteThroughProxy(value);
4650
+ _chunkT56IZ42Mcjs.assertJsonCompatValue.call(void 0, nextValue);
4651
+ this.#writeState(nextValue, { scheduleSave: true });
4556
4652
  }
4557
4653
  initializeState(value) {
4558
4654
  if (!this.#stateEnabled) {
4559
4655
  return;
4560
4656
  }
4561
- this.#writeState(value, { scheduleSave: false });
4657
+ this.#writeState(unwrapWriteThroughProxy(value), {
4658
+ scheduleSave: false
4659
+ });
4562
4660
  }
4563
4661
  get vars() {
4564
4662
  const runtimeState = getNativeRuntimeState(this.#runtime, this.#ctx);
@@ -4827,7 +4925,7 @@ var ActorContextHandleAdapter = class {
4827
4925
  const trackedPromise = Promise.resolve(promise).catch((error) => {
4828
4926
  logger2().warn({
4829
4927
  msg: "keepAwake promise rejected",
4830
- error: _chunk2HVKCDDHcjs.stringifyError.call(void 0, error)
4928
+ error: _chunkT56IZ42Mcjs.stringifyError.call(void 0, error)
4831
4929
  });
4832
4930
  }).then(() => null);
4833
4931
  try {
@@ -5289,9 +5387,9 @@ function buildNativeFactory(runtime, registryConfig, definition) {
5289
5387
  events: config.events,
5290
5388
  queues: config.queues
5291
5389
  };
5292
- const createClient = () => _chunkOJUVQ2F4cjs.createClientWithDriver.call(void 0,
5293
- new (0, _chunkOJUVQ2F4cjs.RemoteEngineControlClient)(
5294
- _chunkOJUVQ2F4cjs.convertRegistryConfigToClientConfig.call(void 0, registryConfig)
5390
+ const createClient = () => _chunkBZWKY6WOcjs.createClientWithDriver.call(void 0,
5391
+ new (0, _chunkBZWKY6WOcjs.RemoteEngineControlClient)(
5392
+ _chunkBZWKY6WOcjs.convertRegistryConfigToClientConfig.call(void 0, registryConfig)
5295
5393
  ),
5296
5394
  { encoding: "bare" }
5297
5395
  );
@@ -5474,7 +5572,7 @@ function buildNativeFactory(runtime, registryConfig, definition) {
5474
5572
  400
5475
5573
  );
5476
5574
  }
5477
- const cbor = _chunk2HVKCDDHcjs.encodeCborCompat.call(void 0,
5575
+ const cbor = _chunkT56IZ42Mcjs.encodeCborCompat.call(void 0,
5478
5576
  _nullishCoalesce(body.body, () => ( null))
5479
5577
  );
5480
5578
  const message = await runtime.actorQueueSend(ctx, name, cbor);
@@ -6056,7 +6154,7 @@ function buildNativeFactory(runtime, registryConfig, definition) {
6056
6154
  new Response(null, { status: 404 })
6057
6155
  );
6058
6156
  }
6059
- const rawConnParams = jsRequest.headers.get(_chunkOJUVQ2F4cjs.HEADER_CONN_PARAMS);
6157
+ const rawConnParams = jsRequest.headers.get(_chunkBZWKY6WOcjs.HEADER_CONN_PARAMS);
6060
6158
  let requestCtx;
6061
6159
  let conn;
6062
6160
  try {
@@ -6081,7 +6179,7 @@ function buildNativeFactory(runtime, registryConfig, definition) {
6081
6179
  requestCtx,
6082
6180
  jsRequest
6083
6181
  );
6084
- if (!_chunkOJUVQ2F4cjs.isResponseLike.call(void 0, response)) {
6182
+ if (!_chunkBZWKY6WOcjs.isResponseLike.call(void 0, response)) {
6085
6183
  throw new Error(
6086
6184
  "onRequest handler must return a Response"
6087
6185
  );
@@ -6145,7 +6243,7 @@ function buildNativeFactory(runtime, registryConfig, definition) {
6145
6243
  var _a2;
6146
6244
  const { ctx } = unwrapTsfnPayload(error, payload);
6147
6245
  const history = (_a2 = getNativeWorkflowInspector(ctx)) == null ? void 0 : _a2.getHistory();
6148
- return history == null ? void 0 : _chunk2HVKCDDHcjs.toUint8Array.call(void 0, history);
6246
+ return history == null ? void 0 : _chunkT56IZ42Mcjs.toUint8Array.call(void 0, history);
6149
6247
  }
6150
6248
  ) : void 0,
6151
6249
  replayWorkflow: _chunkHNHLBM3Ycjs.getRunInspectorConfig.call(void 0, config.run) !== void 0 ? wrapNativeCallback(
@@ -6161,7 +6259,7 @@ function buildNativeFactory(runtime, registryConfig, definition) {
6161
6259
  const history = await _asyncNullishCoalesce(await workflowInspector.replayFromStep(
6162
6260
  entryId
6163
6261
  ), async () => ( null));
6164
- return history == null ? void 0 : _chunk2HVKCDDHcjs.toUint8Array.call(void 0, history);
6262
+ return history == null ? void 0 : _chunkT56IZ42Mcjs.toUint8Array.call(void 0, history);
6165
6263
  }
6166
6264
  ) : void 0,
6167
6265
  actions: Object.fromEntries(
@@ -6284,7 +6382,7 @@ async function buildServeConfig(config) {
6284
6382
  poolName: config.envoy.poolName,
6285
6383
  handleInspectorHttpInRuntime: true,
6286
6384
  serverlessBasePath: config.serverless.basePath,
6287
- serverlessPackageVersion: _chunk2HVKCDDHcjs.VERSION,
6385
+ serverlessPackageVersion: _chunkT56IZ42Mcjs.VERSION,
6288
6386
  serverlessClientEndpoint: config.publicEndpoint,
6289
6387
  serverlessClientNamespace: config.publicNamespace,
6290
6388
  serverlessClientToken: config.publicToken,
@@ -6297,19 +6395,19 @@ async function buildServeConfig(config) {
6297
6395
  } catch (error) {
6298
6396
  logger2().warn({
6299
6397
  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",
6300
- error: _chunk2HVKCDDHcjs.stringifyError.call(void 0, error)
6398
+ error: _chunkT56IZ42Mcjs.stringifyError.call(void 0, error)
6301
6399
  });
6302
6400
  }
6303
6401
  serveConfig.engineHost = config.engineHost;
6304
6402
  serveConfig.enginePort = config.enginePort;
6305
6403
  if ((_a = config.test) == null ? void 0 : _a.enabled) {
6306
- serveConfig.inspectorTestToken = _nullishCoalesce(_chunk2HVKCDDHcjs.getEnvUniversal.call(void 0, "_RIVET_TEST_INSPECTOR_TOKEN"), () => ( "token"));
6404
+ serveConfig.inspectorTestToken = _nullishCoalesce(_chunkT56IZ42Mcjs.getEnvUniversal.call(void 0, "_RIVET_TEST_INSPECTOR_TOKEN"), () => ( "token"));
6307
6405
  }
6308
6406
  return serveConfig;
6309
6407
  }
6310
6408
  async function buildRegistryWithRuntime(config, runtime) {
6311
6409
  var _a;
6312
- if (((_a = config.test) == null ? void 0 : _a.enabled) && _chunk2HVKCDDHcjs.getEnvUniversal.call(void 0, "_RIVET_TEST_INSPECTOR_TOKEN") === void 0) {
6410
+ if (((_a = config.test) == null ? void 0 : _a.enabled) && _chunkT56IZ42Mcjs.getEnvUniversal.call(void 0, "_RIVET_TEST_INSPECTOR_TOKEN") === void 0) {
6313
6411
  trySetProcessEnv("_RIVET_TEST_INSPECTOR_TOKEN", "token");
6314
6412
  }
6315
6413
  if (runtime.kind === "napi") {
@@ -6364,7 +6462,7 @@ function createApplicationFetch(application) {
6364
6462
  body
6365
6463
  })
6366
6464
  );
6367
- if (!_chunkOJUVQ2F4cjs.isResponseLike.call(void 0, response)) {
6465
+ if (!_chunkBZWKY6WOcjs.isResponseLike.call(void 0, response)) {
6368
6466
  throw new TypeError(
6369
6467
  "registry.listen() application fetch must return a Response"
6370
6468
  );
@@ -6401,7 +6499,7 @@ var Registry = class {
6401
6499
  var _a;
6402
6500
  this.#config = config;
6403
6501
  if ((_a = config.logging) == null ? void 0 : _a.baseLogger) {
6404
- _chunk2HVKCDDHcjs.configureBaseLogger.call(void 0, config.logging.baseLogger);
6502
+ _chunkT56IZ42Mcjs.configureBaseLogger.call(void 0, config.logging.baseLogger);
6405
6503
  }
6406
6504
  this.#buildConfiguredRegistry = _nullishCoalesce((deps == null ? void 0 : deps.buildConfiguredRegistry), () => ( buildConfiguredRegistry));
6407
6505
  this.routes = {
@@ -6627,11 +6725,11 @@ var Registry = class {
6627
6725
  * ```
6628
6726
  */
6629
6727
  async listen(opts = {}) {
6630
- const port = _nullishCoalesce(_nullishCoalesce(opts.port, () => ( _chunk2HVKCDDHcjs.parsePortEnv.call(void 0, process.env.RIVET_PORT))), () => ( 3e3));
6631
- const publicDir = _nullishCoalesce(opts.publicDir, () => ( _chunk2HVKCDDHcjs.getRivetkitPublicDir.call(void 0, )));
6728
+ const port = _nullishCoalesce(_nullishCoalesce(opts.port, () => ( _chunkT56IZ42Mcjs.parsePortEnv.call(void 0, process.env.RIVET_PORT))), () => ( 3e3));
6729
+ const publicDir = _nullishCoalesce(opts.publicDir, () => ( _chunkT56IZ42Mcjs.getRivetkitPublicDir.call(void 0, )));
6632
6730
  const config = this.parseConfig();
6633
6731
  const application = opts.application ? createApplicationFetch(opts.application) : void 0;
6634
- if (application && _chunk2HVKCDDHcjs.getRivetkitRuntimeMode.call(void 0, ) !== "serverless") {
6732
+ if (application && _chunkT56IZ42Mcjs.getRivetkitRuntimeMode.call(void 0, ) !== "serverless") {
6635
6733
  if (config.runtime === "wasm") {
6636
6734
  throw new Error(
6637
6735
  "registry.listen() requires the native runtime; use an application-owned HTTP server with WebAssembly"
@@ -6705,7 +6803,7 @@ var Registry = class {
6705
6803
  return jsonRouteResponse(503, {
6706
6804
  status: "not_started",
6707
6805
  runtime: "rivetkit",
6708
- version: _chunk2HVKCDDHcjs.VERSION
6806
+ version: _chunkT56IZ42Mcjs.VERSION
6709
6807
  });
6710
6808
  }
6711
6809
  const { runtime, registry } = configured;
@@ -6713,7 +6811,7 @@ var Registry = class {
6713
6811
  return jsonRouteResponse(501, {
6714
6812
  status: "unsupported",
6715
6813
  runtime: "rivetkit",
6716
- version: _chunk2HVKCDDHcjs.VERSION
6814
+ version: _chunkT56IZ42Mcjs.VERSION
6717
6815
  });
6718
6816
  }
6719
6817
  const response = await runtime.registryHealth(registry);
@@ -6960,7 +7058,7 @@ var Registry = class {
6960
7058
  );
6961
7059
  }
6962
7060
  if (this.#runtimeReadyPromise) return this.#runtimeReadyPromise;
6963
- if (_chunk2HVKCDDHcjs.getRivetkitRuntimeMode.call(void 0, ) === "serverless") {
7061
+ if (_chunkT56IZ42Mcjs.getRivetkitRuntimeMode.call(void 0, ) === "serverless") {
6964
7062
  return Promise.reject(
6965
7063
  new Error(
6966
7064
  "registry.startAndWait() requires envoy runtime mode; serverless registries become ready per request"
@@ -7030,8 +7128,8 @@ var Registry = class {
7030
7128
  * ```
7031
7129
  */
7032
7130
  start() {
7033
- if (_chunk2HVKCDDHcjs.getRivetkitRuntimeMode.call(void 0, ) === "serverless") {
7034
- const publicDir = _nullishCoalesce(_chunk2HVKCDDHcjs.getRivetkitPublicDir.call(void 0, ), () => ( "/public"));
7131
+ if (_chunkT56IZ42Mcjs.getRivetkitRuntimeMode.call(void 0, ) === "serverless") {
7132
+ const publicDir = _nullishCoalesce(_chunkT56IZ42Mcjs.getRivetkitPublicDir.call(void 0, ), () => ( "/public"));
7035
7133
  this.listen({ publicDir }).catch((error) => {
7036
7134
  logger2().error({ error }, "auto-listen failed; exiting");
7037
7135
  if (typeof process !== "undefined" && typeof process.exit === "function") {
@@ -7052,7 +7150,7 @@ var Registry = class {
7052
7150
  };
7053
7151
  console.log();
7054
7152
  console.log(
7055
- ` RivetKit ${_chunk2HVKCDDHcjs.VERSION} (Engine - ${kind === "serverless" ? "Serverless" : "Serverful"})`
7153
+ ` RivetKit ${_chunkT56IZ42Mcjs.VERSION} (Engine - ${kind === "serverless" ? "Serverless" : "Serverful"})`
7056
7154
  );
7057
7155
  if (config.namespace !== "default") {
7058
7156
  logLine("Namespace", config.namespace);
@@ -7127,5 +7225,5 @@ function setup(input) {
7127
7225
 
7128
7226
 
7129
7227
 
7130
- exports.ALLOWED_PUBLIC_HEADERS = _chunkOJUVQ2F4cjs.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 = _chunkOJUVQ2F4cjs.createClientWithDriver; exports.event = event; exports.isStaticActorDefinition = isStaticActorDefinition; exports.isStaticActorInstance = isStaticActorInstance; exports.lookupInRegistry = lookupInRegistry; exports.noopNext = _chunk2HVKCDDHcjs.noopNext; exports.queue = queue; exports.setup = setup; exports.toUint8Array = _chunk2HVKCDDHcjs.toUint8Array;
7228
+ exports.ALLOWED_PUBLIC_HEADERS = _chunkBZWKY6WOcjs.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 = _chunkBZWKY6WOcjs.createClientWithDriver; exports.event = event; exports.isStaticActorDefinition = isStaticActorDefinition; exports.isStaticActorInstance = isStaticActorInstance; exports.lookupInRegistry = lookupInRegistry; exports.noopNext = _chunkT56IZ42Mcjs.noopNext; exports.queue = queue; exports.setup = setup; exports.toUint8Array = _chunkT56IZ42Mcjs.toUint8Array;
7131
7229
  //# sourceMappingURL=mod.cjs.map