rivetkit 2.0.34 → 2.0.36

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 (94) hide show
  1. package/dist/tsup/actor/errors.cjs +6 -2
  2. package/dist/tsup/actor/errors.cjs.map +1 -1
  3. package/dist/tsup/actor/errors.d.cts +7 -1
  4. package/dist/tsup/actor/errors.d.ts +7 -1
  5. package/dist/tsup/actor/errors.js +5 -1
  6. package/dist/tsup/{chunk-6KPMUCTX.js → chunk-2YHR67M4.js} +26 -2
  7. package/dist/tsup/{chunk-6KPMUCTX.js.map → chunk-2YHR67M4.js.map} +1 -1
  8. package/dist/tsup/{chunk-3I3NOVWF.cjs → chunk-65O3MUPO.cjs} +9 -9
  9. package/dist/tsup/{chunk-3I3NOVWF.cjs.map → chunk-65O3MUPO.cjs.map} +1 -1
  10. package/dist/tsup/{chunk-PNDDMBWF.cjs → chunk-6TLJAB64.cjs} +223 -269
  11. package/dist/tsup/chunk-6TLJAB64.cjs.map +1 -0
  12. package/dist/tsup/{chunk-ZNFKB5PN.cjs → chunk-7EGXCVJL.cjs} +55 -48
  13. package/dist/tsup/chunk-7EGXCVJL.cjs.map +1 -0
  14. package/dist/tsup/{chunk-US7J2C4A.js → chunk-D35UUQOR.js} +2 -2
  15. package/dist/tsup/{chunk-GQ5VRA2G.js → chunk-DSPZ7BZN.js} +96 -6
  16. package/dist/tsup/chunk-DSPZ7BZN.js.map +1 -0
  17. package/dist/tsup/{chunk-JXQJHBUL.js → chunk-EO5JABFU.js} +47 -36
  18. package/dist/tsup/chunk-EO5JABFU.js.map +1 -0
  19. package/dist/tsup/{chunk-2PDSCMHY.js → chunk-KJLJLNHR.js} +273 -319
  20. package/dist/tsup/chunk-KJLJLNHR.js.map +1 -0
  21. package/dist/tsup/{chunk-IKLDUHPA.cjs → chunk-OYJU4B2I.cjs} +130 -119
  22. package/dist/tsup/chunk-OYJU4B2I.cjs.map +1 -0
  23. package/dist/tsup/{chunk-ULWSFIPU.cjs → chunk-RTSLQIZ5.cjs} +355 -265
  24. package/dist/tsup/chunk-RTSLQIZ5.cjs.map +1 -0
  25. package/dist/tsup/{chunk-FWT2BTVT.cjs → chunk-SNAUKDDK.cjs} +26 -2
  26. package/dist/tsup/chunk-SNAUKDDK.cjs.map +1 -0
  27. package/dist/tsup/{chunk-VXUKLCT5.js → chunk-UDKWYSU3.js} +7 -3
  28. package/dist/tsup/chunk-UDKWYSU3.js.map +1 -0
  29. package/dist/tsup/{chunk-VGG36TGE.cjs → chunk-VIUUUBXQ.cjs} +3 -3
  30. package/dist/tsup/{chunk-VGG36TGE.cjs.map → chunk-VIUUUBXQ.cjs.map} +1 -1
  31. package/dist/tsup/{chunk-LD52TCZK.cjs → chunk-WRYYREBN.cjs} +13 -9
  32. package/dist/tsup/chunk-WRYYREBN.cjs.map +1 -0
  33. package/dist/tsup/{chunk-YLUTGXVY.js → chunk-X5GKJWTG.js} +12 -5
  34. package/dist/tsup/{chunk-YLUTGXVY.js.map → chunk-X5GKJWTG.js.map} +1 -1
  35. package/dist/tsup/{chunk-BDE7AKE7.js → chunk-Z5CSXFVY.js} +5 -5
  36. package/dist/tsup/client/mod.cjs +6 -6
  37. package/dist/tsup/client/mod.d.cts +8 -8
  38. package/dist/tsup/client/mod.d.ts +8 -8
  39. package/dist/tsup/client/mod.js +5 -5
  40. package/dist/tsup/common/log.cjs +3 -3
  41. package/dist/tsup/common/log.js +2 -2
  42. package/dist/tsup/common/websocket.cjs +4 -4
  43. package/dist/tsup/common/websocket.js +3 -3
  44. package/dist/tsup/{config-BybOFjaz.d.cts → config--NjwiYlS.d.cts} +24 -25
  45. package/dist/tsup/{config-B-whEERh.d.ts → config-CRuzI6n4.d.ts} +24 -25
  46. package/dist/tsup/{driver-DqaHKTyo.d.ts → driver-BcmckRaF.d.ts} +1 -1
  47. package/dist/tsup/driver-helpers/mod.cjs +4 -4
  48. package/dist/tsup/driver-helpers/mod.d.cts +2 -2
  49. package/dist/tsup/driver-helpers/mod.d.ts +2 -2
  50. package/dist/tsup/driver-helpers/mod.js +3 -3
  51. package/dist/tsup/driver-test-suite/mod.cjs +37 -37
  52. package/dist/tsup/driver-test-suite/mod.cjs.map +1 -1
  53. package/dist/tsup/driver-test-suite/mod.d.cts +2 -2
  54. package/dist/tsup/driver-test-suite/mod.d.ts +2 -2
  55. package/dist/tsup/driver-test-suite/mod.js +9 -9
  56. package/dist/tsup/{driver-CcjuH3oe.d.cts → driver-yKjYx9Yy.d.cts} +1 -1
  57. package/dist/tsup/mod.cjs +8 -8
  58. package/dist/tsup/mod.d.cts +4 -4
  59. package/dist/tsup/mod.d.ts +4 -4
  60. package/dist/tsup/mod.js +7 -7
  61. package/dist/tsup/test/mod.cjs +8 -8
  62. package/dist/tsup/test/mod.d.cts +1 -1
  63. package/dist/tsup/test/mod.d.ts +1 -1
  64. package/dist/tsup/test/mod.js +7 -7
  65. package/dist/tsup/utils.cjs +3 -3
  66. package/dist/tsup/utils.js +2 -2
  67. package/package.json +3 -3
  68. package/src/actor/errors.ts +24 -0
  69. package/src/actor/router.ts +13 -1
  70. package/src/client/config.ts +54 -48
  71. package/src/common/router.ts +12 -0
  72. package/src/drivers/engine/actor-driver.ts +2 -1
  73. package/src/drivers/engine/config.ts +6 -3
  74. package/src/globals.d.ts +1 -0
  75. package/src/manager/router.ts +8 -1
  76. package/src/registry/config/index.ts +98 -90
  77. package/src/registry/config/serverless.ts +34 -3
  78. package/src/remote-manager-driver/api-utils.ts +3 -0
  79. package/src/serverless/router.ts +24 -2
  80. package/src/utils/endpoint-parser.test.ts +184 -171
  81. package/src/utils/endpoint-parser.ts +70 -65
  82. package/src/utils/env-vars.ts +6 -0
  83. package/dist/tsup/chunk-2PDSCMHY.js.map +0 -1
  84. package/dist/tsup/chunk-FWT2BTVT.cjs.map +0 -1
  85. package/dist/tsup/chunk-GQ5VRA2G.js.map +0 -1
  86. package/dist/tsup/chunk-IKLDUHPA.cjs.map +0 -1
  87. package/dist/tsup/chunk-JXQJHBUL.js.map +0 -1
  88. package/dist/tsup/chunk-LD52TCZK.cjs.map +0 -1
  89. package/dist/tsup/chunk-PNDDMBWF.cjs.map +0 -1
  90. package/dist/tsup/chunk-ULWSFIPU.cjs.map +0 -1
  91. package/dist/tsup/chunk-VXUKLCT5.js.map +0 -1
  92. package/dist/tsup/chunk-ZNFKB5PN.cjs.map +0 -1
  93. /package/dist/tsup/{chunk-US7J2C4A.js.map → chunk-D35UUQOR.js.map} +0 -0
  94. /package/dist/tsup/{chunk-BDE7AKE7.js.map → chunk-Z5CSXFVY.js.map} +0 -0
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  createFileSystemOrMemoryDriver
3
- } from "./chunk-YLUTGXVY.js";
3
+ } from "./chunk-X5GKJWTG.js";
4
4
  import {
5
5
  createClient
6
- } from "./chunk-GQ5VRA2G.js";
6
+ } from "./chunk-DSPZ7BZN.js";
7
7
  import {
8
8
  buildManagerRouter
9
- } from "./chunk-2PDSCMHY.js";
9
+ } from "./chunk-KJLJLNHR.js";
10
10
  import {
11
11
  getLogger
12
- } from "./chunk-VXUKLCT5.js";
12
+ } from "./chunk-UDKWYSU3.js";
13
13
 
14
14
  // src/test/mod.ts
15
15
  import { createServer } from "net";
@@ -111,4 +111,4 @@ export {
111
111
  setupTest,
112
112
  getPort
113
113
  };
114
- //# sourceMappingURL=chunk-BDE7AKE7.js.map
114
+ //# sourceMappingURL=chunk-Z5CSXFVY.js.map
@@ -9,14 +9,14 @@
9
9
 
10
10
 
11
11
 
12
- var _chunkULWSFIPUcjs = require('../chunk-ULWSFIPU.cjs');
13
- require('../chunk-VGG36TGE.cjs');
12
+ var _chunkRTSLQIZ5cjs = require('../chunk-RTSLQIZ5.cjs');
13
+ require('../chunk-VIUUUBXQ.cjs');
14
14
 
15
15
 
16
- var _chunkPNDDMBWFcjs = require('../chunk-PNDDMBWF.cjs');
16
+ var _chunk6TLJAB64cjs = require('../chunk-6TLJAB64.cjs');
17
17
  require('../chunk-KDFWJKMJ.cjs');
18
- require('../chunk-LD52TCZK.cjs');
19
- require('../chunk-FWT2BTVT.cjs');
18
+ require('../chunk-WRYYREBN.cjs');
19
+ require('../chunk-SNAUKDDK.cjs');
20
20
  require('../chunk-GBENOENJ.cjs');
21
21
 
22
22
 
@@ -30,5 +30,5 @@ require('../chunk-GBENOENJ.cjs');
30
30
 
31
31
 
32
32
 
33
- exports.ActorClientError = _chunkULWSFIPUcjs.ActorClientError; exports.ActorConnDisposed = _chunkULWSFIPUcjs.ActorConnDisposed; exports.ActorConnRaw = _chunkULWSFIPUcjs.ActorConnRaw; exports.ActorDefinition = _chunkULWSFIPUcjs.ActorDefinition; exports.ActorError = _chunkULWSFIPUcjs.ActorError; exports.ActorHandleRaw = _chunkULWSFIPUcjs.ActorHandleRaw; exports.InternalError = _chunkULWSFIPUcjs.InternalError; exports.KV_KEYS = _chunkPNDDMBWFcjs.KEYS; exports.MalformedResponseMessage = _chunkULWSFIPUcjs.MalformedResponseMessage; exports.ManagerError = _chunkULWSFIPUcjs.ManagerError; exports.createClient = _chunkULWSFIPUcjs.createClient;
33
+ exports.ActorClientError = _chunkRTSLQIZ5cjs.ActorClientError; exports.ActorConnDisposed = _chunkRTSLQIZ5cjs.ActorConnDisposed; exports.ActorConnRaw = _chunkRTSLQIZ5cjs.ActorConnRaw; exports.ActorDefinition = _chunkRTSLQIZ5cjs.ActorDefinition; exports.ActorError = _chunkRTSLQIZ5cjs.ActorError; exports.ActorHandleRaw = _chunkRTSLQIZ5cjs.ActorHandleRaw; exports.InternalError = _chunkRTSLQIZ5cjs.InternalError; exports.KV_KEYS = _chunk6TLJAB64cjs.KEYS; exports.MalformedResponseMessage = _chunkRTSLQIZ5cjs.MalformedResponseMessage; exports.ManagerError = _chunkRTSLQIZ5cjs.ManagerError; exports.createClient = _chunkRTSLQIZ5cjs.createClient;
34
34
  //# sourceMappingURL=mod.cjs.map
@@ -1,5 +1,5 @@
1
- import { ae as ParsedEndpoint, a7 as Registry, C as Client } from '../config-BybOFjaz.cjs';
2
- export { av as ActorAccessor, am as ActorActionFunction, af as ActorClientError, an as ActorConn, ag as ActorConnDisposed, as as ActorConnRaw, ao as ActorConnStatus, f as ActorDefinition, ah as ActorError, at as ActorHandle, au as ActorHandleRaw, l as AnyActorDefinition, aw as ClientRaw, ap as ConnectionStateCallback, ax as CreateOptions, al as CreateRequest, E as Encoding, aq as EventUnsubscribe, ay as ExtractActorsFromRegistry, az as ExtractRegistryFromClient, aA as GetOptions, aB as GetWithIdOptions, ai as InternalError, aj as MalformedResponseMessage, ak as ManagerError, aC as QueryOptions, aD as Region, ar as StatusChangeCallback } from '../config-BybOFjaz.cjs';
1
+ import { a7 as Registry, C as Client } from '../config--NjwiYlS.cjs';
2
+ export { au as ActorAccessor, al as ActorActionFunction, ae as ActorClientError, am as ActorConn, af as ActorConnDisposed, ar as ActorConnRaw, an as ActorConnStatus, f as ActorDefinition, ag as ActorError, as as ActorHandle, at as ActorHandleRaw, l as AnyActorDefinition, av as ClientRaw, ao as ConnectionStateCallback, aw as CreateOptions, ak as CreateRequest, E as Encoding, ap as EventUnsubscribe, ax as ExtractActorsFromRegistry, ay as ExtractRegistryFromClient, az as GetOptions, aA as GetWithIdOptions, ah as InternalError, ai as MalformedResponseMessage, aj as ManagerError, aB as QueryOptions, aC as Region, aq as StatusChangeCallback } from '../config--NjwiYlS.cjs';
3
3
  export { K as KV_KEYS } from '../kv-CTM8sCvx.cjs';
4
4
  import z from 'zod';
5
5
  import { GetUpgradeWebSocket } from '../utils.cjs';
@@ -14,9 +14,9 @@ import '../utils-fwx3o3K9.cjs';
14
14
  import 'hono/utils/http-status';
15
15
 
16
16
  declare const ClientConfigSchema: z.ZodPipe<z.ZodObject<{
17
- endpoint: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ParsedEndpoint, string>>>;
18
- token: z.ZodOptional<z.ZodString>;
19
- namespace: z.ZodOptional<z.ZodString>;
17
+ endpoint: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string, string | undefined>>;
18
+ token: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>;
19
+ namespace: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>;
20
20
  runnerName: z.ZodDefault<z.ZodString>;
21
21
  encoding: z.ZodDefault<z.ZodEnum<{
22
22
  json: "json";
@@ -38,14 +38,14 @@ declare const ClientConfigSchema: z.ZodPipe<z.ZodObject<{
38
38
  devtools: boolean;
39
39
  getUpgradeWebSocket?: GetUpgradeWebSocket | undefined;
40
40
  }, {
41
+ endpoint: string;
42
+ token: string | undefined;
43
+ namespace: string | undefined;
41
44
  runnerName: string;
42
45
  encoding: "json" | "cbor" | "bare";
43
46
  headers: Record<string, string>;
44
47
  disableMetadataLookup: boolean;
45
48
  devtools: boolean;
46
- endpoint?: ParsedEndpoint | undefined;
47
- token?: string | undefined;
48
- namespace?: string | undefined;
49
49
  getUpgradeWebSocket?: GetUpgradeWebSocket | undefined;
50
50
  }>>;
51
51
  type ClientConfigInput = z.input<typeof ClientConfigSchema>;
@@ -1,5 +1,5 @@
1
- import { ae as ParsedEndpoint, a7 as Registry, C as Client } from '../config-B-whEERh.js';
2
- export { av as ActorAccessor, am as ActorActionFunction, af as ActorClientError, an as ActorConn, ag as ActorConnDisposed, as as ActorConnRaw, ao as ActorConnStatus, f as ActorDefinition, ah as ActorError, at as ActorHandle, au as ActorHandleRaw, l as AnyActorDefinition, aw as ClientRaw, ap as ConnectionStateCallback, ax as CreateOptions, al as CreateRequest, E as Encoding, aq as EventUnsubscribe, ay as ExtractActorsFromRegistry, az as ExtractRegistryFromClient, aA as GetOptions, aB as GetWithIdOptions, ai as InternalError, aj as MalformedResponseMessage, ak as ManagerError, aC as QueryOptions, aD as Region, ar as StatusChangeCallback } from '../config-B-whEERh.js';
1
+ import { a7 as Registry, C as Client } from '../config-CRuzI6n4.js';
2
+ export { au as ActorAccessor, al as ActorActionFunction, ae as ActorClientError, am as ActorConn, af as ActorConnDisposed, ar as ActorConnRaw, an as ActorConnStatus, f as ActorDefinition, ag as ActorError, as as ActorHandle, at as ActorHandleRaw, l as AnyActorDefinition, av as ClientRaw, ao as ConnectionStateCallback, aw as CreateOptions, ak as CreateRequest, E as Encoding, ap as EventUnsubscribe, ax as ExtractActorsFromRegistry, ay as ExtractRegistryFromClient, az as GetOptions, aA as GetWithIdOptions, ah as InternalError, ai as MalformedResponseMessage, aj as ManagerError, aB as QueryOptions, aC as Region, aq as StatusChangeCallback } from '../config-CRuzI6n4.js';
3
3
  export { K as KV_KEYS } from '../kv-CTM8sCvx.js';
4
4
  import z from 'zod';
5
5
  import { GetUpgradeWebSocket } from '../utils.js';
@@ -14,9 +14,9 @@ import '../utils-fwx3o3K9.js';
14
14
  import 'hono/utils/http-status';
15
15
 
16
16
  declare const ClientConfigSchema: z.ZodPipe<z.ZodObject<{
17
- endpoint: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ParsedEndpoint, string>>>;
18
- token: z.ZodOptional<z.ZodString>;
19
- namespace: z.ZodOptional<z.ZodString>;
17
+ endpoint: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string, string | undefined>>;
18
+ token: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>;
19
+ namespace: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>;
20
20
  runnerName: z.ZodDefault<z.ZodString>;
21
21
  encoding: z.ZodDefault<z.ZodEnum<{
22
22
  json: "json";
@@ -38,14 +38,14 @@ declare const ClientConfigSchema: z.ZodPipe<z.ZodObject<{
38
38
  devtools: boolean;
39
39
  getUpgradeWebSocket?: GetUpgradeWebSocket | undefined;
40
40
  }, {
41
+ endpoint: string;
42
+ token: string | undefined;
43
+ namespace: string | undefined;
41
44
  runnerName: string;
42
45
  encoding: "json" | "cbor" | "bare";
43
46
  headers: Record<string, string>;
44
47
  disableMetadataLookup: boolean;
45
48
  devtools: boolean;
46
- endpoint?: ParsedEndpoint | undefined;
47
- token?: string | undefined;
48
- namespace?: string | undefined;
49
49
  getUpgradeWebSocket?: GetUpgradeWebSocket | undefined;
50
50
  }>>;
51
51
  type ClientConfigInput = z.input<typeof ClientConfigSchema>;
@@ -9,14 +9,14 @@ import {
9
9
  MalformedResponseMessage,
10
10
  ManagerError,
11
11
  createClient
12
- } from "../chunk-GQ5VRA2G.js";
13
- import "../chunk-US7J2C4A.js";
12
+ } from "../chunk-DSPZ7BZN.js";
13
+ import "../chunk-D35UUQOR.js";
14
14
  import {
15
15
  KEYS
16
- } from "../chunk-2PDSCMHY.js";
16
+ } from "../chunk-KJLJLNHR.js";
17
17
  import "../chunk-E6ZE2YEA.js";
18
- import "../chunk-VXUKLCT5.js";
19
- import "../chunk-6KPMUCTX.js";
18
+ import "../chunk-UDKWYSU3.js";
19
+ import "../chunk-2YHR67M4.js";
20
20
  export {
21
21
  ActorClientError,
22
22
  ActorConnDisposed,
@@ -6,8 +6,8 @@
6
6
 
7
7
 
8
8
 
9
- var _chunkLD52TCZKcjs = require('../chunk-LD52TCZK.cjs');
10
- require('../chunk-FWT2BTVT.cjs');
9
+ var _chunkWRYYREBNcjs = require('../chunk-WRYYREBN.cjs');
10
+ require('../chunk-SNAUKDDK.cjs');
11
11
  require('../chunk-GBENOENJ.cjs');
12
12
 
13
13
 
@@ -17,5 +17,5 @@ require('../chunk-GBENOENJ.cjs');
17
17
 
18
18
 
19
19
 
20
- exports.LogLevelSchema = _chunkLD52TCZKcjs.LogLevelSchema; exports.configureBaseLogger = _chunkLD52TCZKcjs.configureBaseLogger; exports.configureDefaultLogger = _chunkLD52TCZKcjs.configureDefaultLogger; exports.getBaseLogger = _chunkLD52TCZKcjs.getBaseLogger; exports.getIncludeTarget = _chunkLD52TCZKcjs.getIncludeTarget; exports.getLogger = _chunkLD52TCZKcjs.getLogger; exports.getPinoLevel = _chunkLD52TCZKcjs.getPinoLevel;
20
+ exports.LogLevelSchema = _chunkWRYYREBNcjs.LogLevelSchema; exports.configureBaseLogger = _chunkWRYYREBNcjs.configureBaseLogger; exports.configureDefaultLogger = _chunkWRYYREBNcjs.configureDefaultLogger; exports.getBaseLogger = _chunkWRYYREBNcjs.getBaseLogger; exports.getIncludeTarget = _chunkWRYYREBNcjs.getIncludeTarget; exports.getLogger = _chunkWRYYREBNcjs.getLogger; exports.getPinoLevel = _chunkWRYYREBNcjs.getPinoLevel;
21
21
  //# sourceMappingURL=log.cjs.map
@@ -6,8 +6,8 @@ import {
6
6
  getIncludeTarget,
7
7
  getLogger,
8
8
  getPinoLevel
9
- } from "../chunk-VXUKLCT5.js";
10
- import "../chunk-6KPMUCTX.js";
9
+ } from "../chunk-UDKWYSU3.js";
10
+ import "../chunk-2YHR67M4.js";
11
11
  export {
12
12
  LogLevelSchema,
13
13
  configureBaseLogger,
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkVGG36TGEcjs = require('../chunk-VGG36TGE.cjs');
4
- require('../chunk-LD52TCZK.cjs');
5
- require('../chunk-FWT2BTVT.cjs');
3
+ var _chunkVIUUUBXQcjs = require('../chunk-VIUUUBXQ.cjs');
4
+ require('../chunk-WRYYREBN.cjs');
5
+ require('../chunk-SNAUKDDK.cjs');
6
6
  require('../chunk-GBENOENJ.cjs');
7
7
 
8
8
 
9
- exports.importWebSocket = _chunkVGG36TGEcjs.importWebSocket;
9
+ exports.importWebSocket = _chunkVIUUUBXQcjs.importWebSocket;
10
10
  //# sourceMappingURL=websocket.cjs.map
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  importWebSocket
3
- } from "../chunk-US7J2C4A.js";
4
- import "../chunk-VXUKLCT5.js";
5
- import "../chunk-6KPMUCTX.js";
3
+ } from "../chunk-D35UUQOR.js";
4
+ import "../chunk-UDKWYSU3.js";
5
+ import "../chunk-2YHR67M4.js";
6
6
  export {
7
7
  importWebSocket
8
8
  };
@@ -28,12 +28,6 @@ type DatabaseProvider<DB extends {
28
28
  onMigrate: (client: DB) => void | Promise<void>;
29
29
  };
30
30
 
31
- interface ParsedEndpoint {
32
- endpoint: string;
33
- namespace: string | undefined;
34
- token: string | undefined;
35
- }
36
-
37
31
  declare class ActorClientError extends Error {
38
32
  }
39
33
  declare class InternalError extends ActorClientError {
@@ -234,9 +228,9 @@ declare const RegistryConfigSchema: z.ZodPipe<z.ZodObject<{
234
228
  silent: "silent";
235
229
  }>>;
236
230
  }, z.core.$strip>>>;
237
- endpoint: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ParsedEndpoint, string>>>;
238
- token: z.ZodOptional<z.ZodString>;
239
- namespace: z.ZodOptional<z.ZodString>;
231
+ endpoint: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>;
232
+ token: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>;
233
+ namespace: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>;
240
234
  headers: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
241
235
  serveManager: z.ZodOptional<z.ZodBoolean>;
242
236
  managerBasePath: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -261,7 +255,8 @@ declare const RegistryConfigSchema: z.ZodPipe<z.ZodObject<{
261
255
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
262
256
  }, z.core.$strip>>>;
263
257
  basePath: z.ZodDefault<z.ZodOptional<z.ZodString>>;
264
- advertiseEndpoint: z.ZodOptional<z.ZodString>;
258
+ publicEndpoint: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>;
259
+ publicToken: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>;
265
260
  }, z.core.$strip>>>;
266
261
  runner: z.ZodDefault<z.ZodOptional<z.ZodObject<{
267
262
  totalSlots: z.ZodDefault<z.ZodNumber>;
@@ -274,7 +269,9 @@ declare const RegistryConfigSchema: z.ZodPipe<z.ZodObject<{
274
269
  namespace: string;
275
270
  token: string | undefined;
276
271
  serveManager: boolean;
277
- advertiseEndpoint: string | undefined;
272
+ publicEndpoint: string | undefined;
273
+ publicNamespace: string | undefined;
274
+ publicToken: string | undefined;
278
275
  inspector: {
279
276
  enabled: boolean;
280
277
  token: () => string;
@@ -288,10 +285,11 @@ declare const RegistryConfigSchema: z.ZodPipe<z.ZodObject<{
288
285
  defaultEndpoint?: string | undefined;
289
286
  };
290
287
  serverless: {
291
- advertiseEndpoint: string | undefined;
288
+ publicEndpoint: string | undefined;
292
289
  spawnEngine: boolean;
293
290
  engineVersion: string;
294
291
  basePath: string;
292
+ publicToken: string | undefined;
295
293
  configureRunnerPool?: {
296
294
  url: string;
297
295
  name?: string | undefined;
@@ -343,6 +341,9 @@ declare const RegistryConfigSchema: z.ZodPipe<z.ZodObject<{
343
341
  baseLogger?: Logger | undefined;
344
342
  level?: "error" | "trace" | "fatal" | "warn" | "info" | "debug" | "silent" | undefined;
345
343
  };
344
+ endpoint: string | undefined;
345
+ token: string | undefined;
346
+ namespace: string | undefined;
346
347
  headers: Record<string, string>;
347
348
  managerBasePath: string;
348
349
  managerPort: number;
@@ -355,6 +356,8 @@ declare const RegistryConfigSchema: z.ZodPipe<z.ZodObject<{
355
356
  spawnEngine: boolean;
356
357
  engineVersion: string;
357
358
  basePath: string;
359
+ publicEndpoint: string | undefined;
360
+ publicToken: string | undefined;
358
361
  configureRunnerPool?: {
359
362
  url: string;
360
363
  name?: string | undefined;
@@ -366,7 +369,6 @@ declare const RegistryConfigSchema: z.ZodPipe<z.ZodObject<{
366
369
  slotsPerRunner?: number | undefined;
367
370
  metadata?: Record<string, unknown> | undefined;
368
371
  } | undefined;
369
- advertiseEndpoint?: string | undefined;
370
372
  };
371
373
  runner: {
372
374
  totalSlots: number;
@@ -381,9 +383,6 @@ declare const RegistryConfigSchema: z.ZodPipe<z.ZodObject<{
381
383
  actor: ActorDriverBuilder;
382
384
  autoStartActorDriver: boolean;
383
385
  } | undefined;
384
- endpoint?: ParsedEndpoint | undefined;
385
- token?: string | undefined;
386
- namespace?: string | undefined;
387
386
  serveManager?: boolean | undefined;
388
387
  }>>;
389
388
  type RegistryConfig = z.infer<typeof RegistryConfigSchema>;
@@ -471,9 +470,9 @@ declare const LegacyRunnerConfigSchema: z.ZodDefault<z.ZodPipe<z.ZodObject<{
471
470
  slotsPerRunner: z.ZodOptional<z.ZodNumber>;
472
471
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
473
472
  }, z.core.$strip>]>>;
474
- endpoint: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ParsedEndpoint, string>>>;
475
- token: z.ZodOptional<z.ZodString>;
476
- namespace: z.ZodOptional<z.ZodString>;
473
+ endpoint: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string, string | undefined>>;
474
+ token: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>;
475
+ namespace: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>;
477
476
  runnerName: z.ZodDefault<z.ZodString>;
478
477
  encoding: z.ZodDefault<z.ZodEnum<{
479
478
  json: "json";
@@ -484,7 +483,7 @@ declare const LegacyRunnerConfigSchema: z.ZodDefault<z.ZodPipe<z.ZodObject<{
484
483
  getUpgradeWebSocket: z.ZodOptional<z.ZodCustom<GetUpgradeWebSocket, GetUpgradeWebSocket>>;
485
484
  disableMetadataLookup: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
486
485
  devtools: z.ZodDefault<z.ZodBoolean>;
487
- runnerKey: z.ZodOptional<z.ZodString>;
486
+ runnerKey: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>;
488
487
  totalSlots: z.ZodDefault<z.ZodNumber>;
489
488
  }, z.core.$strip>, z.ZodTransform<{
490
489
  runnerKey: string | undefined;
@@ -553,11 +552,15 @@ declare const LegacyRunnerConfigSchema: z.ZodDefault<z.ZodPipe<z.ZodObject<{
553
552
  baseLogger?: Logger | undefined;
554
553
  level?: "error" | "trace" | "fatal" | "warn" | "info" | "debug" | "silent" | undefined;
555
554
  };
555
+ endpoint: string;
556
+ token: string | undefined;
557
+ namespace: string | undefined;
556
558
  runnerName: string;
557
559
  encoding: "json" | "cbor" | "bare";
558
560
  headers: Record<string, string>;
559
561
  disableMetadataLookup: boolean;
560
562
  devtools: boolean;
563
+ runnerKey: string | undefined;
561
564
  totalSlots: number;
562
565
  driver?: {
563
566
  name: string;
@@ -575,11 +578,7 @@ declare const LegacyRunnerConfigSchema: z.ZodDefault<z.ZodPipe<z.ZodObject<{
575
578
  slotsPerRunner?: number | undefined;
576
579
  metadata?: Record<string, unknown> | undefined;
577
580
  } | undefined;
578
- endpoint?: ParsedEndpoint | undefined;
579
- token?: string | undefined;
580
- namespace?: string | undefined;
581
581
  getUpgradeWebSocket?: GetUpgradeWebSocket | undefined;
582
- runnerKey?: string | undefined;
583
582
  }>>>;
584
583
  type LegacyRunnerConfigInput = z.input<typeof LegacyRunnerConfigSchema>;
585
584
 
@@ -2056,4 +2055,4 @@ type ActorConfigInput<TState = undefined, TConnParams = undefined, TConnState =
2056
2055
  } & Omit<z.input<typeof ActorConfigSchema>, "actions" | "onCreate" | "onDestroy" | "onWake" | "onSleep" | "onStateChange" | "onBeforeConnect" | "onConnect" | "onDisconnect" | "onBeforeActionResponse" | "onRequest" | "onWebSocket" | "state" | "createState" | "connState" | "createConnState" | "vars" | "createVars" | "db"> & BaseActorConfig<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TActions> & CreateState<TState, TConnParams, TConnState, TVars, TInput, TDatabase> & CreateConnState<TState, TConnParams, TConnState, TVars, TInput, TDatabase> & CreateVars<TState, TConnParams, TConnState, TVars, TInput, TDatabase> & ActorDatabaseConfig<TDatabase>;
2057
2056
  declare function test<TState, TConnParams, TConnState, TVars, TInput, TDatabase extends AnyDatabaseProvider, TActions extends Actions<TState, TConnParams, TConnState, TVars, TInput, TDatabase>>(input: ActorConfigInput<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TActions>): ActorConfig<TState, TConnParams, TConnState, TVars, TInput, TDatabase>;
2058
2057
 
2059
- export { type WakeContextOf as $, type ActorDriver as A, BeforeActionResponseContext as B, type Client as C, type BeforeActionResponseContextOf as D, type Encoding as E, BeforeConnectContext as F, type BeforeConnectContextOf as G, ConnectContext as H, type ConnectContextOf as I, CreateContext as J, type CreateContextOf as K, CreateConnStateContext as L, type CreateConnStateContextOf as M, CreateVarsContext as N, type CreateVarsContextOf as O, DestroyContext as P, type DestroyContextOf as Q, type RegistryConfig as R, DisconnectContext as S, type DisconnectContextOf as T, RequestContext as U, type RequestContextOf as V, SleepContext as W, type SleepContextOf as X, StateChangeContext as Y, type StateChangeContextOf as Z, WakeContext as _, type AnyConn as a, WebSocketContext as a0, type WebSocketContextOf as a1, type RegistryActors as a2, RegistryConfigSchema as a3, type FetchHandler as a4, type ServerlessHandler as a5, type LegacyStartServerOutput as a6, Registry as a7, setup as a8, ActorsSchema as a9, type GetOptions as aA, type GetWithIdOptions as aB, type QueryOptions as aC, type Region as aD, type ManagerDriverBuilder as aE, type ActorDriverBuilder as aF, type ManagerDriver as aG, ActorInstance as aH, type ActorOutput as aI, type CreateInput as aJ, type GetForIdInput as aK, type GetOrCreateWithKeyInput as aL, type GetWithKeyInput as aM, type ListActorsInput as aN, type ManagerDisplayInformation as aO, TestConfigSchema as aa, type TestConfig as ab, type RegistryConfigInput as ac, buildActorNames as ad, type ParsedEndpoint as ae, ActorClientError as af, ActorConnDisposed as ag, ActorError as ah, InternalError as ai, MalformedResponseMessage as aj, ManagerError as ak, type CreateRequest as al, type ActorActionFunction as am, type ActorConn as an, type ActorConnStatus as ao, type ConnectionStateCallback as ap, type EventUnsubscribe as aq, type StatusChangeCallback as ar, ActorConnRaw as as, type ActorHandle as at, ActorHandleRaw as au, type ActorAccessor as av, ClientRaw as aw, type CreateOptions as ax, type ExtractActorsFromRegistry as ay, type ExtractRegistryFromClient as az, type AnyActorInstance as b, type AnyDatabaseProvider as c, type Actions as d, type ActorConfigInput as e, ActorDefinition as f, type AnyClient as g, createClientWithDriver as h, type ActorQuery as i, type ActorKey as j, Conn as k, type AnyActorDefinition as l, lookupInRegistry as m, type ActorTypes as n, ActorConfigSchema as o, type AuthIntent as p, type ActorConfig as q, ActorContext as r, type ActorContextOf as s, test as t, ConnContext as u, type ConnContextOf as v, ConnInitContext as w, type ConnInitContextOf as x, ActionContext as y, type ActionContextOf as z };
2058
+ export { type WakeContextOf as $, type ActorDriver as A, BeforeActionResponseContext as B, type Client as C, type BeforeActionResponseContextOf as D, type Encoding as E, BeforeConnectContext as F, type BeforeConnectContextOf as G, ConnectContext as H, type ConnectContextOf as I, CreateContext as J, type CreateContextOf as K, CreateConnStateContext as L, type CreateConnStateContextOf as M, CreateVarsContext as N, type CreateVarsContextOf as O, DestroyContext as P, type DestroyContextOf as Q, type RegistryConfig as R, DisconnectContext as S, type DisconnectContextOf as T, RequestContext as U, type RequestContextOf as V, SleepContext as W, type SleepContextOf as X, StateChangeContext as Y, type StateChangeContextOf as Z, WakeContext as _, type AnyConn as a, WebSocketContext as a0, type WebSocketContextOf as a1, type RegistryActors as a2, RegistryConfigSchema as a3, type FetchHandler as a4, type ServerlessHandler as a5, type LegacyStartServerOutput as a6, Registry as a7, setup as a8, ActorsSchema as a9, type GetWithIdOptions as aA, type QueryOptions as aB, type Region as aC, type ManagerDriver as aD, ActorInstance as aE, type ActorOutput as aF, type CreateInput as aG, type GetForIdInput as aH, type GetOrCreateWithKeyInput as aI, type GetWithKeyInput as aJ, type ListActorsInput as aK, type ManagerDisplayInformation as aL, type ManagerDriverBuilder as aM, type ActorDriverBuilder as aN, TestConfigSchema as aa, type TestConfig as ab, type RegistryConfigInput as ac, buildActorNames as ad, ActorClientError as ae, ActorConnDisposed as af, ActorError as ag, InternalError as ah, MalformedResponseMessage as ai, ManagerError as aj, type CreateRequest as ak, type ActorActionFunction as al, type ActorConn as am, type ActorConnStatus as an, type ConnectionStateCallback as ao, type EventUnsubscribe as ap, type StatusChangeCallback as aq, ActorConnRaw as ar, type ActorHandle as as, ActorHandleRaw as at, type ActorAccessor as au, ClientRaw as av, type CreateOptions as aw, type ExtractActorsFromRegistry as ax, type ExtractRegistryFromClient as ay, type GetOptions as az, type AnyActorInstance as b, type AnyDatabaseProvider as c, type Actions as d, type ActorConfigInput as e, ActorDefinition as f, type AnyClient as g, createClientWithDriver as h, type ActorQuery as i, type ActorKey as j, Conn as k, type AnyActorDefinition as l, lookupInRegistry as m, type ActorTypes as n, ActorConfigSchema as o, type AuthIntent as p, type ActorConfig as q, ActorContext as r, type ActorContextOf as s, test as t, ConnContext as u, type ConnContextOf as v, ConnInitContext as w, type ConnInitContextOf as x, ActionContext as y, type ActionContextOf as z };
@@ -28,12 +28,6 @@ type DatabaseProvider<DB extends {
28
28
  onMigrate: (client: DB) => void | Promise<void>;
29
29
  };
30
30
 
31
- interface ParsedEndpoint {
32
- endpoint: string;
33
- namespace: string | undefined;
34
- token: string | undefined;
35
- }
36
-
37
31
  declare class ActorClientError extends Error {
38
32
  }
39
33
  declare class InternalError extends ActorClientError {
@@ -234,9 +228,9 @@ declare const RegistryConfigSchema: z.ZodPipe<z.ZodObject<{
234
228
  silent: "silent";
235
229
  }>>;
236
230
  }, z.core.$strip>>>;
237
- endpoint: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ParsedEndpoint, string>>>;
238
- token: z.ZodOptional<z.ZodString>;
239
- namespace: z.ZodOptional<z.ZodString>;
231
+ endpoint: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>;
232
+ token: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>;
233
+ namespace: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>;
240
234
  headers: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
241
235
  serveManager: z.ZodOptional<z.ZodBoolean>;
242
236
  managerBasePath: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -261,7 +255,8 @@ declare const RegistryConfigSchema: z.ZodPipe<z.ZodObject<{
261
255
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
262
256
  }, z.core.$strip>>>;
263
257
  basePath: z.ZodDefault<z.ZodOptional<z.ZodString>>;
264
- advertiseEndpoint: z.ZodOptional<z.ZodString>;
258
+ publicEndpoint: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>;
259
+ publicToken: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>;
265
260
  }, z.core.$strip>>>;
266
261
  runner: z.ZodDefault<z.ZodOptional<z.ZodObject<{
267
262
  totalSlots: z.ZodDefault<z.ZodNumber>;
@@ -274,7 +269,9 @@ declare const RegistryConfigSchema: z.ZodPipe<z.ZodObject<{
274
269
  namespace: string;
275
270
  token: string | undefined;
276
271
  serveManager: boolean;
277
- advertiseEndpoint: string | undefined;
272
+ publicEndpoint: string | undefined;
273
+ publicNamespace: string | undefined;
274
+ publicToken: string | undefined;
278
275
  inspector: {
279
276
  enabled: boolean;
280
277
  token: () => string;
@@ -288,10 +285,11 @@ declare const RegistryConfigSchema: z.ZodPipe<z.ZodObject<{
288
285
  defaultEndpoint?: string | undefined;
289
286
  };
290
287
  serverless: {
291
- advertiseEndpoint: string | undefined;
288
+ publicEndpoint: string | undefined;
292
289
  spawnEngine: boolean;
293
290
  engineVersion: string;
294
291
  basePath: string;
292
+ publicToken: string | undefined;
295
293
  configureRunnerPool?: {
296
294
  url: string;
297
295
  name?: string | undefined;
@@ -343,6 +341,9 @@ declare const RegistryConfigSchema: z.ZodPipe<z.ZodObject<{
343
341
  baseLogger?: Logger | undefined;
344
342
  level?: "error" | "trace" | "fatal" | "warn" | "info" | "debug" | "silent" | undefined;
345
343
  };
344
+ endpoint: string | undefined;
345
+ token: string | undefined;
346
+ namespace: string | undefined;
346
347
  headers: Record<string, string>;
347
348
  managerBasePath: string;
348
349
  managerPort: number;
@@ -355,6 +356,8 @@ declare const RegistryConfigSchema: z.ZodPipe<z.ZodObject<{
355
356
  spawnEngine: boolean;
356
357
  engineVersion: string;
357
358
  basePath: string;
359
+ publicEndpoint: string | undefined;
360
+ publicToken: string | undefined;
358
361
  configureRunnerPool?: {
359
362
  url: string;
360
363
  name?: string | undefined;
@@ -366,7 +369,6 @@ declare const RegistryConfigSchema: z.ZodPipe<z.ZodObject<{
366
369
  slotsPerRunner?: number | undefined;
367
370
  metadata?: Record<string, unknown> | undefined;
368
371
  } | undefined;
369
- advertiseEndpoint?: string | undefined;
370
372
  };
371
373
  runner: {
372
374
  totalSlots: number;
@@ -381,9 +383,6 @@ declare const RegistryConfigSchema: z.ZodPipe<z.ZodObject<{
381
383
  actor: ActorDriverBuilder;
382
384
  autoStartActorDriver: boolean;
383
385
  } | undefined;
384
- endpoint?: ParsedEndpoint | undefined;
385
- token?: string | undefined;
386
- namespace?: string | undefined;
387
386
  serveManager?: boolean | undefined;
388
387
  }>>;
389
388
  type RegistryConfig = z.infer<typeof RegistryConfigSchema>;
@@ -471,9 +470,9 @@ declare const LegacyRunnerConfigSchema: z.ZodDefault<z.ZodPipe<z.ZodObject<{
471
470
  slotsPerRunner: z.ZodOptional<z.ZodNumber>;
472
471
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
473
472
  }, z.core.$strip>]>>;
474
- endpoint: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ParsedEndpoint, string>>>;
475
- token: z.ZodOptional<z.ZodString>;
476
- namespace: z.ZodOptional<z.ZodString>;
473
+ endpoint: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string, string | undefined>>;
474
+ token: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>;
475
+ namespace: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>;
477
476
  runnerName: z.ZodDefault<z.ZodString>;
478
477
  encoding: z.ZodDefault<z.ZodEnum<{
479
478
  json: "json";
@@ -484,7 +483,7 @@ declare const LegacyRunnerConfigSchema: z.ZodDefault<z.ZodPipe<z.ZodObject<{
484
483
  getUpgradeWebSocket: z.ZodOptional<z.ZodCustom<GetUpgradeWebSocket, GetUpgradeWebSocket>>;
485
484
  disableMetadataLookup: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
486
485
  devtools: z.ZodDefault<z.ZodBoolean>;
487
- runnerKey: z.ZodOptional<z.ZodString>;
486
+ runnerKey: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>;
488
487
  totalSlots: z.ZodDefault<z.ZodNumber>;
489
488
  }, z.core.$strip>, z.ZodTransform<{
490
489
  runnerKey: string | undefined;
@@ -553,11 +552,15 @@ declare const LegacyRunnerConfigSchema: z.ZodDefault<z.ZodPipe<z.ZodObject<{
553
552
  baseLogger?: Logger | undefined;
554
553
  level?: "error" | "trace" | "fatal" | "warn" | "info" | "debug" | "silent" | undefined;
555
554
  };
555
+ endpoint: string;
556
+ token: string | undefined;
557
+ namespace: string | undefined;
556
558
  runnerName: string;
557
559
  encoding: "json" | "cbor" | "bare";
558
560
  headers: Record<string, string>;
559
561
  disableMetadataLookup: boolean;
560
562
  devtools: boolean;
563
+ runnerKey: string | undefined;
561
564
  totalSlots: number;
562
565
  driver?: {
563
566
  name: string;
@@ -575,11 +578,7 @@ declare const LegacyRunnerConfigSchema: z.ZodDefault<z.ZodPipe<z.ZodObject<{
575
578
  slotsPerRunner?: number | undefined;
576
579
  metadata?: Record<string, unknown> | undefined;
577
580
  } | undefined;
578
- endpoint?: ParsedEndpoint | undefined;
579
- token?: string | undefined;
580
- namespace?: string | undefined;
581
581
  getUpgradeWebSocket?: GetUpgradeWebSocket | undefined;
582
- runnerKey?: string | undefined;
583
582
  }>>>;
584
583
  type LegacyRunnerConfigInput = z.input<typeof LegacyRunnerConfigSchema>;
585
584
 
@@ -2056,4 +2055,4 @@ type ActorConfigInput<TState = undefined, TConnParams = undefined, TConnState =
2056
2055
  } & Omit<z.input<typeof ActorConfigSchema>, "actions" | "onCreate" | "onDestroy" | "onWake" | "onSleep" | "onStateChange" | "onBeforeConnect" | "onConnect" | "onDisconnect" | "onBeforeActionResponse" | "onRequest" | "onWebSocket" | "state" | "createState" | "connState" | "createConnState" | "vars" | "createVars" | "db"> & BaseActorConfig<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TActions> & CreateState<TState, TConnParams, TConnState, TVars, TInput, TDatabase> & CreateConnState<TState, TConnParams, TConnState, TVars, TInput, TDatabase> & CreateVars<TState, TConnParams, TConnState, TVars, TInput, TDatabase> & ActorDatabaseConfig<TDatabase>;
2057
2056
  declare function test<TState, TConnParams, TConnState, TVars, TInput, TDatabase extends AnyDatabaseProvider, TActions extends Actions<TState, TConnParams, TConnState, TVars, TInput, TDatabase>>(input: ActorConfigInput<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TActions>): ActorConfig<TState, TConnParams, TConnState, TVars, TInput, TDatabase>;
2058
2057
 
2059
- export { type WakeContextOf as $, type ActorDriver as A, BeforeActionResponseContext as B, type Client as C, type BeforeActionResponseContextOf as D, type Encoding as E, BeforeConnectContext as F, type BeforeConnectContextOf as G, ConnectContext as H, type ConnectContextOf as I, CreateContext as J, type CreateContextOf as K, CreateConnStateContext as L, type CreateConnStateContextOf as M, CreateVarsContext as N, type CreateVarsContextOf as O, DestroyContext as P, type DestroyContextOf as Q, type RegistryConfig as R, DisconnectContext as S, type DisconnectContextOf as T, RequestContext as U, type RequestContextOf as V, SleepContext as W, type SleepContextOf as X, StateChangeContext as Y, type StateChangeContextOf as Z, WakeContext as _, type AnyConn as a, WebSocketContext as a0, type WebSocketContextOf as a1, type RegistryActors as a2, RegistryConfigSchema as a3, type FetchHandler as a4, type ServerlessHandler as a5, type LegacyStartServerOutput as a6, Registry as a7, setup as a8, ActorsSchema as a9, type GetOptions as aA, type GetWithIdOptions as aB, type QueryOptions as aC, type Region as aD, type ManagerDriverBuilder as aE, type ActorDriverBuilder as aF, type ManagerDriver as aG, ActorInstance as aH, type ActorOutput as aI, type CreateInput as aJ, type GetForIdInput as aK, type GetOrCreateWithKeyInput as aL, type GetWithKeyInput as aM, type ListActorsInput as aN, type ManagerDisplayInformation as aO, TestConfigSchema as aa, type TestConfig as ab, type RegistryConfigInput as ac, buildActorNames as ad, type ParsedEndpoint as ae, ActorClientError as af, ActorConnDisposed as ag, ActorError as ah, InternalError as ai, MalformedResponseMessage as aj, ManagerError as ak, type CreateRequest as al, type ActorActionFunction as am, type ActorConn as an, type ActorConnStatus as ao, type ConnectionStateCallback as ap, type EventUnsubscribe as aq, type StatusChangeCallback as ar, ActorConnRaw as as, type ActorHandle as at, ActorHandleRaw as au, type ActorAccessor as av, ClientRaw as aw, type CreateOptions as ax, type ExtractActorsFromRegistry as ay, type ExtractRegistryFromClient as az, type AnyActorInstance as b, type AnyDatabaseProvider as c, type Actions as d, type ActorConfigInput as e, ActorDefinition as f, type AnyClient as g, createClientWithDriver as h, type ActorQuery as i, type ActorKey as j, Conn as k, type AnyActorDefinition as l, lookupInRegistry as m, type ActorTypes as n, ActorConfigSchema as o, type AuthIntent as p, type ActorConfig as q, ActorContext as r, type ActorContextOf as s, test as t, ConnContext as u, type ConnContextOf as v, ConnInitContext as w, type ConnInitContextOf as x, ActionContext as y, type ActionContextOf as z };
2058
+ export { type WakeContextOf as $, type ActorDriver as A, BeforeActionResponseContext as B, type Client as C, type BeforeActionResponseContextOf as D, type Encoding as E, BeforeConnectContext as F, type BeforeConnectContextOf as G, ConnectContext as H, type ConnectContextOf as I, CreateContext as J, type CreateContextOf as K, CreateConnStateContext as L, type CreateConnStateContextOf as M, CreateVarsContext as N, type CreateVarsContextOf as O, DestroyContext as P, type DestroyContextOf as Q, type RegistryConfig as R, DisconnectContext as S, type DisconnectContextOf as T, RequestContext as U, type RequestContextOf as V, SleepContext as W, type SleepContextOf as X, StateChangeContext as Y, type StateChangeContextOf as Z, WakeContext as _, type AnyConn as a, WebSocketContext as a0, type WebSocketContextOf as a1, type RegistryActors as a2, RegistryConfigSchema as a3, type FetchHandler as a4, type ServerlessHandler as a5, type LegacyStartServerOutput as a6, Registry as a7, setup as a8, ActorsSchema as a9, type GetWithIdOptions as aA, type QueryOptions as aB, type Region as aC, type ManagerDriver as aD, ActorInstance as aE, type ActorOutput as aF, type CreateInput as aG, type GetForIdInput as aH, type GetOrCreateWithKeyInput as aI, type GetWithKeyInput as aJ, type ListActorsInput as aK, type ManagerDisplayInformation as aL, type ManagerDriverBuilder as aM, type ActorDriverBuilder as aN, TestConfigSchema as aa, type TestConfig as ab, type RegistryConfigInput as ac, buildActorNames as ad, ActorClientError as ae, ActorConnDisposed as af, ActorError as ag, InternalError as ah, MalformedResponseMessage as ai, ManagerError as aj, type CreateRequest as ak, type ActorActionFunction as al, type ActorConn as am, type ActorConnStatus as an, type ConnectionStateCallback as ao, type EventUnsubscribe as ap, type StatusChangeCallback as aq, ActorConnRaw as ar, type ActorHandle as as, ActorHandleRaw as at, type ActorAccessor as au, ClientRaw as av, type CreateOptions as aw, type ExtractActorsFromRegistry as ax, type ExtractRegistryFromClient as ay, type GetOptions as az, type AnyActorInstance as b, type AnyDatabaseProvider as c, type Actions as d, type ActorConfigInput as e, ActorDefinition as f, type AnyClient as g, createClientWithDriver as h, type ActorQuery as i, type ActorKey as j, Conn as k, type AnyActorDefinition as l, lookupInRegistry as m, type ActorTypes as n, ActorConfigSchema as o, type AuthIntent as p, type ActorConfig as q, ActorContext as r, type ActorContextOf as s, test as t, ConnContext as u, type ConnContextOf as v, ConnInitContext as w, type ConnInitContextOf as x, ActionContext as y, type ActionContextOf as z };
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { aE as ManagerDriverBuilder, aF as ActorDriverBuilder } from './config-B-whEERh.js';
2
+ import { aM as ManagerDriverBuilder, aN as ActorDriverBuilder } from './config-CRuzI6n4.js';
3
3
 
4
4
  declare const DriverConfigSchema: z.ZodObject<{
5
5
  name: z.ZodString;
@@ -17,10 +17,10 @@
17
17
 
18
18
 
19
19
 
20
- var _chunkPNDDMBWFcjs = require('../chunk-PNDDMBWF.cjs');
20
+ var _chunk6TLJAB64cjs = require('../chunk-6TLJAB64.cjs');
21
21
  require('../chunk-KDFWJKMJ.cjs');
22
- require('../chunk-LD52TCZK.cjs');
23
- require('../chunk-FWT2BTVT.cjs');
22
+ require('../chunk-WRYYREBN.cjs');
23
+ require('../chunk-SNAUKDDK.cjs');
24
24
  require('../chunk-GBENOENJ.cjs');
25
25
 
26
26
 
@@ -41,5 +41,5 @@ require('../chunk-GBENOENJ.cjs');
41
41
 
42
42
 
43
43
 
44
- exports.ALLOWED_PUBLIC_HEADERS = _chunkPNDDMBWFcjs.ALLOWED_PUBLIC_HEADERS; exports.HEADER_ACTOR_ID = _chunkPNDDMBWFcjs.HEADER_ACTOR_ID; exports.HEADER_ACTOR_QUERY = _chunkPNDDMBWFcjs.HEADER_ACTOR_QUERY; exports.HEADER_CONN_PARAMS = _chunkPNDDMBWFcjs.HEADER_CONN_PARAMS; exports.HEADER_ENCODING = _chunkPNDDMBWFcjs.HEADER_ENCODING; exports.HEADER_RIVET_ACTOR = _chunkPNDDMBWFcjs.HEADER_RIVET_ACTOR; exports.HEADER_RIVET_TARGET = _chunkPNDDMBWFcjs.HEADER_RIVET_TARGET; exports.PATH_CONNECT = _chunkPNDDMBWFcjs.PATH_CONNECT; exports.PATH_WEBSOCKET_BASE = _chunkPNDDMBWFcjs.PATH_WEBSOCKET_BASE; exports.PATH_WEBSOCKET_PREFIX = _chunkPNDDMBWFcjs.PATH_WEBSOCKET_PREFIX; exports.WS_PROTOCOL_ACTOR = _chunkPNDDMBWFcjs.WS_PROTOCOL_ACTOR; exports.WS_PROTOCOL_CONN_PARAMS = _chunkPNDDMBWFcjs.WS_PROTOCOL_CONN_PARAMS; exports.WS_PROTOCOL_ENCODING = _chunkPNDDMBWFcjs.WS_PROTOCOL_ENCODING; exports.WS_PROTOCOL_PATH = _chunkPNDDMBWFcjs.WS_TEST_PROTOCOL_PATH; exports.WS_PROTOCOL_STANDARD = _chunkPNDDMBWFcjs.WS_PROTOCOL_STANDARD; exports.WS_PROTOCOL_TARGET = _chunkPNDDMBWFcjs.WS_PROTOCOL_TARGET; exports.buildManagerRouter = _chunkPNDDMBWFcjs.buildManagerRouter; exports.getInitialActorKvState = _chunkPNDDMBWFcjs.getInitialActorKvState;
44
+ exports.ALLOWED_PUBLIC_HEADERS = _chunk6TLJAB64cjs.ALLOWED_PUBLIC_HEADERS; exports.HEADER_ACTOR_ID = _chunk6TLJAB64cjs.HEADER_ACTOR_ID; exports.HEADER_ACTOR_QUERY = _chunk6TLJAB64cjs.HEADER_ACTOR_QUERY; exports.HEADER_CONN_PARAMS = _chunk6TLJAB64cjs.HEADER_CONN_PARAMS; exports.HEADER_ENCODING = _chunk6TLJAB64cjs.HEADER_ENCODING; exports.HEADER_RIVET_ACTOR = _chunk6TLJAB64cjs.HEADER_RIVET_ACTOR; exports.HEADER_RIVET_TARGET = _chunk6TLJAB64cjs.HEADER_RIVET_TARGET; exports.PATH_CONNECT = _chunk6TLJAB64cjs.PATH_CONNECT; exports.PATH_WEBSOCKET_BASE = _chunk6TLJAB64cjs.PATH_WEBSOCKET_BASE; exports.PATH_WEBSOCKET_PREFIX = _chunk6TLJAB64cjs.PATH_WEBSOCKET_PREFIX; exports.WS_PROTOCOL_ACTOR = _chunk6TLJAB64cjs.WS_PROTOCOL_ACTOR; exports.WS_PROTOCOL_CONN_PARAMS = _chunk6TLJAB64cjs.WS_PROTOCOL_CONN_PARAMS; exports.WS_PROTOCOL_ENCODING = _chunk6TLJAB64cjs.WS_PROTOCOL_ENCODING; exports.WS_PROTOCOL_PATH = _chunk6TLJAB64cjs.WS_TEST_PROTOCOL_PATH; exports.WS_PROTOCOL_STANDARD = _chunk6TLJAB64cjs.WS_PROTOCOL_STANDARD; exports.WS_PROTOCOL_TARGET = _chunk6TLJAB64cjs.WS_PROTOCOL_TARGET; exports.buildManagerRouter = _chunk6TLJAB64cjs.buildManagerRouter; exports.getInitialActorKvState = _chunk6TLJAB64cjs.getInitialActorKvState;
45
45
  //# sourceMappingURL=mod.cjs.map
@@ -1,5 +1,5 @@
1
- import { R as RegistryConfig, aG as ManagerDriver } from '../config-BybOFjaz.cjs';
2
- export { A as ActorDriver, aH as ActorInstance, aI as ActorOutput, b as AnyActorInstance, aJ as CreateInput, aK as GetForIdInput, aL as GetOrCreateWithKeyInput, aM as GetWithKeyInput, aN as ListActorsInput, aO as ManagerDisplayInformation } from '../config-BybOFjaz.cjs';
1
+ import { R as RegistryConfig, aD as ManagerDriver } from '../config--NjwiYlS.cjs';
2
+ export { A as ActorDriver, aE as ActorInstance, aF as ActorOutput, b as AnyActorInstance, aG as CreateInput, aH as GetForIdInput, aI as GetOrCreateWithKeyInput, aJ as GetWithKeyInput, aK as ListActorsInput, aL as ManagerDisplayInformation } from '../config--NjwiYlS.cjs';
3
3
  export { A as ALLOWED_PUBLIC_HEADERS, H as HEADER_ACTOR_ID, b as HEADER_ACTOR_QUERY, c as HEADER_CONN_PARAMS, d as HEADER_ENCODING, e as HEADER_RIVET_ACTOR, f as HEADER_RIVET_TARGET, P as PATH_CONNECT, g as PATH_WEBSOCKET_BASE, a as PATH_WEBSOCKET_PREFIX, W as WS_PROTOCOL_ACTOR, h as WS_PROTOCOL_CONN_PARAMS, i as WS_PROTOCOL_ENCODING, l as WS_PROTOCOL_PATH, j as WS_PROTOCOL_STANDARD, k as WS_PROTOCOL_TARGET } from '../actor-router-consts-DzI2szci.cjs';
4
4
  import * as _hono_zod_openapi from '@hono/zod-openapi';
5
5
  import { Hono } from 'hono';
@@ -1,5 +1,5 @@
1
- import { R as RegistryConfig, aG as ManagerDriver } from '../config-B-whEERh.js';
2
- export { A as ActorDriver, aH as ActorInstance, aI as ActorOutput, b as AnyActorInstance, aJ as CreateInput, aK as GetForIdInput, aL as GetOrCreateWithKeyInput, aM as GetWithKeyInput, aN as ListActorsInput, aO as ManagerDisplayInformation } from '../config-B-whEERh.js';
1
+ import { R as RegistryConfig, aD as ManagerDriver } from '../config-CRuzI6n4.js';
2
+ export { A as ActorDriver, aE as ActorInstance, aF as ActorOutput, b as AnyActorInstance, aG as CreateInput, aH as GetForIdInput, aI as GetOrCreateWithKeyInput, aJ as GetWithKeyInput, aK as ListActorsInput, aL as ManagerDisplayInformation } from '../config-CRuzI6n4.js';
3
3
  export { A as ALLOWED_PUBLIC_HEADERS, H as HEADER_ACTOR_ID, b as HEADER_ACTOR_QUERY, c as HEADER_CONN_PARAMS, d as HEADER_ENCODING, e as HEADER_RIVET_ACTOR, f as HEADER_RIVET_TARGET, P as PATH_CONNECT, g as PATH_WEBSOCKET_BASE, a as PATH_WEBSOCKET_PREFIX, W as WS_PROTOCOL_ACTOR, h as WS_PROTOCOL_CONN_PARAMS, i as WS_PROTOCOL_ENCODING, l as WS_PROTOCOL_PATH, j as WS_PROTOCOL_STANDARD, k as WS_PROTOCOL_TARGET } from '../actor-router-consts-DzI2szci.js';
4
4
  import * as _hono_zod_openapi from '@hono/zod-openapi';
5
5
  import { Hono } from 'hono';
@@ -17,10 +17,10 @@ import {
17
17
  WS_TEST_PROTOCOL_PATH,
18
18
  buildManagerRouter,
19
19
  getInitialActorKvState
20
- } from "../chunk-2PDSCMHY.js";
20
+ } from "../chunk-KJLJLNHR.js";
21
21
  import "../chunk-E6ZE2YEA.js";
22
- import "../chunk-VXUKLCT5.js";
23
- import "../chunk-6KPMUCTX.js";
22
+ import "../chunk-UDKWYSU3.js";
23
+ import "../chunk-2YHR67M4.js";
24
24
  export {
25
25
  ALLOWED_PUBLIC_HEADERS,
26
26
  HEADER_ACTOR_ID,