rivetkit 2.3.18-rc.4 → 2.3.18
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.
- package/dist/browser/client.js +1 -1
- package/dist/browser/client.js.map +1 -1
- package/dist/browser/inspector/client.js +1 -1
- package/dist/browser/inspector/client.js.map +1 -1
- package/dist/tsup/agent-os/index.cjs +1 -1
- package/dist/tsup/agent-os/index.cjs.map +1 -1
- package/dist/tsup/agent-os/index.js +1 -1
- package/dist/tsup/agent-os/index.js.map +1 -1
- package/dist/tsup/{chunk-QFLG6UB4.cjs → chunk-25Z2RK7C.cjs} +3 -3
- package/dist/tsup/{chunk-QFLG6UB4.cjs.map → chunk-25Z2RK7C.cjs.map} +1 -1
- package/dist/tsup/{chunk-7E2W2YSM.cjs → chunk-2IDK6NX3.cjs} +2 -2
- package/dist/tsup/chunk-2IDK6NX3.cjs.map +1 -0
- package/dist/tsup/{chunk-FL2FDUSZ.js → chunk-2MK75JFR.js} +4 -4
- package/dist/tsup/{chunk-ENDOWQTM.js → chunk-4XECVATQ.js} +2 -2
- package/dist/tsup/{chunk-CAL23WOC.js → chunk-7EPLADKM.js} +2 -2
- package/dist/tsup/chunk-7EPLADKM.js.map +1 -0
- package/dist/tsup/{chunk-F3IP3SGO.cjs → chunk-IKZ6DJMP.cjs} +4 -4
- package/dist/tsup/{chunk-F3IP3SGO.cjs.map → chunk-IKZ6DJMP.cjs.map} +1 -1
- package/dist/tsup/{chunk-KVPU65TI.js → chunk-IPXIZSE7.js} +3 -3
- package/dist/tsup/{chunk-PLAJJOTE.js → chunk-LAITPJRA.js} +2 -2
- package/dist/tsup/{chunk-TGGF6SZN.cjs → chunk-NRIRV3Z2.cjs} +139 -139
- package/dist/tsup/{chunk-TGGF6SZN.cjs.map → chunk-NRIRV3Z2.cjs.map} +1 -1
- package/dist/tsup/{chunk-GUVDWB2O.cjs → chunk-O7RSU3UC.cjs} +10 -10
- package/dist/tsup/{chunk-GUVDWB2O.cjs.map → chunk-O7RSU3UC.cjs.map} +1 -1
- package/dist/tsup/{chunk-N3DJTMSZ.cjs → chunk-OKVVWOC3.cjs} +3 -3
- package/dist/tsup/{chunk-N3DJTMSZ.cjs.map → chunk-OKVVWOC3.cjs.map} +1 -1
- package/dist/tsup/{chunk-MS6C3B2I.js → chunk-PXKNBNVU.js} +6 -6
- package/dist/tsup/{chunk-KKG2CTSI.js → chunk-QIFZELUQ.js} +2 -2
- package/dist/tsup/{chunk-4OMHYVOQ.cjs → chunk-T6JUXRNI.cjs} +3 -3
- package/dist/tsup/{chunk-4OMHYVOQ.cjs.map → chunk-T6JUXRNI.cjs.map} +1 -1
- package/dist/tsup/{chunk-YQD6RRVP.js → chunk-TNSLNSQH.js} +2 -2
- package/dist/tsup/{chunk-R2WRP6VV.cjs → chunk-ZRTESY7V.cjs} +7 -7
- package/dist/tsup/{chunk-R2WRP6VV.cjs.map → chunk-ZRTESY7V.cjs.map} +1 -1
- package/dist/tsup/client/mod.cjs +5 -5
- package/dist/tsup/client/mod.js +4 -4
- package/dist/tsup/common/log.cjs +2 -2
- package/dist/tsup/common/log.js +1 -1
- package/dist/tsup/common/websocket.cjs +3 -3
- package/dist/tsup/common/websocket.js +2 -2
- package/dist/tsup/db/drizzle.cjs +2 -2
- package/dist/tsup/db/drizzle.js +1 -1
- package/dist/tsup/db/mod.cjs +3 -3
- package/dist/tsup/db/mod.js +2 -2
- package/dist/tsup/inspector/mod.cjs +5 -5
- package/dist/tsup/inspector/mod.js +4 -4
- package/dist/tsup/inspector/workflow.cjs +4 -4
- package/dist/tsup/inspector/workflow.js +3 -3
- package/dist/tsup/mod.cjs +78 -78
- package/dist/tsup/mod.cjs.map +1 -1
- package/dist/tsup/mod.js +5 -5
- package/dist/tsup/test/mod.cjs +6 -6
- package/dist/tsup/test/mod.js +4 -4
- package/dist/tsup/utils.cjs +2 -2
- package/dist/tsup/utils.js +1 -1
- package/dist/tsup/workflow/mod.cjs +7 -7
- package/dist/tsup/workflow/mod.js +4 -4
- package/package.json +8 -8
- package/dist/tsup/chunk-7E2W2YSM.cjs.map +0 -1
- package/dist/tsup/chunk-CAL23WOC.js.map +0 -1
- /package/dist/tsup/{chunk-FL2FDUSZ.js.map → chunk-2MK75JFR.js.map} +0 -0
- /package/dist/tsup/{chunk-ENDOWQTM.js.map → chunk-4XECVATQ.js.map} +0 -0
- /package/dist/tsup/{chunk-KVPU65TI.js.map → chunk-IPXIZSE7.js.map} +0 -0
- /package/dist/tsup/{chunk-PLAJJOTE.js.map → chunk-LAITPJRA.js.map} +0 -0
- /package/dist/tsup/{chunk-MS6C3B2I.js.map → chunk-PXKNBNVU.js.map} +0 -0
- /package/dist/tsup/{chunk-KKG2CTSI.js.map → chunk-QIFZELUQ.js.map} +0 -0
- /package/dist/tsup/{chunk-YQD6RRVP.js.map → chunk-TNSLNSQH.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
|
|
3
|
+
var _chunkIKZ6DJMPcjs = require('./chunk-IKZ6DJMP.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -28,18 +28,18 @@ var _chunk4KGXFC6Mcjs = require('./chunk-4KGXFC6M.cjs');
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunkNRIRV3Z2cjs = require('./chunk-NRIRV3Z2.cjs');
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
var _chunkMYWZCDMLcjs = require('./chunk-MYWZCDML.cjs');
|
|
36
|
-
require('./chunk-N3DJTMSZ.cjs');
|
|
37
36
|
|
|
38
37
|
|
|
39
38
|
|
|
40
39
|
|
|
41
|
-
var
|
|
40
|
+
var _chunkT6JUXRNIcjs = require('./chunk-T6JUXRNI.cjs');
|
|
42
41
|
require('./chunk-KVFIONKQ.cjs');
|
|
42
|
+
require('./chunk-OKVVWOC3.cjs');
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
|
|
@@ -73,7 +73,7 @@ require('./chunk-KVFIONKQ.cjs');
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
|
|
76
|
-
var
|
|
76
|
+
var _chunk2IDK6NX3cjs = require('./chunk-2IDK6NX3.cjs');
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
|
|
@@ -89,7 +89,7 @@ var _chunk2JSYYH6Pcjs = require('./chunk-2JSYYH6P.cjs');
|
|
|
89
89
|
|
|
90
90
|
// src/actor/log.ts
|
|
91
91
|
function loggerWithoutContext() {
|
|
92
|
-
return
|
|
92
|
+
return _chunk2IDK6NX3cjs.getLogger.call(void 0, "actor-runtime");
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
// src/actor/definition.ts
|
|
@@ -229,7 +229,7 @@ function validateSchemaSync(schemas, key, data) {
|
|
|
229
229
|
var _virtualwebsocket = require('@rivetkit/virtual-websocket');
|
|
230
230
|
var _ws = require('hono/ws');
|
|
231
231
|
function logger() {
|
|
232
|
-
return
|
|
232
|
+
return _chunk2IDK6NX3cjs.getLogger.call(void 0, "inline-websocket-adapter");
|
|
233
233
|
}
|
|
234
234
|
var InlineWebSocketAdapter = class {
|
|
235
235
|
#handler;
|
|
@@ -400,7 +400,7 @@ function isLocalEngineEndpoint(endpoint) {
|
|
|
400
400
|
|
|
401
401
|
// src/registry/log.ts
|
|
402
402
|
function logger2() {
|
|
403
|
-
return
|
|
403
|
+
return _chunk2IDK6NX3cjs.getLogger.call(void 0, "registry");
|
|
404
404
|
}
|
|
405
405
|
|
|
406
406
|
// src/serverless/configure.ts
|
|
@@ -446,8 +446,8 @@ async function configureServerlessPool(config) {
|
|
|
446
446
|
);
|
|
447
447
|
}
|
|
448
448
|
const customConfig = config.configurePool;
|
|
449
|
-
const clientConfig =
|
|
450
|
-
const dcsRes = await
|
|
449
|
+
const clientConfig = _chunkNRIRV3Z2cjs.convertRegistryConfigToClientConfig.call(void 0, config);
|
|
450
|
+
const dcsRes = await _chunkNRIRV3Z2cjs.getDatacenters.call(void 0, clientConfig);
|
|
451
451
|
const poolName = _nullishCoalesce(customConfig.name, () => ( "default"));
|
|
452
452
|
const serverlessToken = _nullishCoalesce(config.token, () => ( config.publicToken));
|
|
453
453
|
const headers = {
|
|
@@ -469,7 +469,7 @@ async function configureServerlessPool(config) {
|
|
|
469
469
|
metadata: _nullishCoalesce(customConfig.metadata, () => ( {})),
|
|
470
470
|
drain_on_version_upgrade: _nullishCoalesce(customConfig.drainOnVersionUpgrade, () => ( true))
|
|
471
471
|
};
|
|
472
|
-
await
|
|
472
|
+
await _chunkNRIRV3Z2cjs.updateRunnerConfig.call(void 0, clientConfig, poolName, {
|
|
473
473
|
datacenters: Object.fromEntries(
|
|
474
474
|
dcsRes.datacenters.map((dc) => [dc.name, serverlessConfig])
|
|
475
475
|
)
|
|
@@ -486,7 +486,7 @@ async function configureServerlessPool(config) {
|
|
|
486
486
|
logger2().warn({
|
|
487
487
|
msg: "serverless pool configuration attempt failed",
|
|
488
488
|
attempts,
|
|
489
|
-
error:
|
|
489
|
+
error: _chunk2IDK6NX3cjs.stringifyError.call(void 0, error)
|
|
490
490
|
});
|
|
491
491
|
await sleep(CONFIGURE_RETRY_DELAY_MS);
|
|
492
492
|
}
|
|
@@ -494,7 +494,7 @@ async function configureServerlessPool(config) {
|
|
|
494
494
|
logger2().error({
|
|
495
495
|
msg: "failed to configure serverless pool, validate endpoint is configured correctly then restart this process",
|
|
496
496
|
attempts,
|
|
497
|
-
error:
|
|
497
|
+
error: _chunk2IDK6NX3cjs.stringifyError.call(void 0, lastError)
|
|
498
498
|
});
|
|
499
499
|
throw lastError;
|
|
500
500
|
}
|
|
@@ -506,20 +506,20 @@ var _zod = require('zod');
|
|
|
506
506
|
var _v4 = require('zod/v4');
|
|
507
507
|
var warnedMissingVersion = false;
|
|
508
508
|
var EnvoyConfigSchema = _v4.z.object({
|
|
509
|
-
poolName: _v4.z.string().default(() => _nullishCoalesce(
|
|
509
|
+
poolName: _v4.z.string().default(() => _nullishCoalesce(_chunk2IDK6NX3cjs.getRivetPool.call(void 0, ), () => ( "default"))),
|
|
510
510
|
version: _v4.z.number().default(() => {
|
|
511
|
-
const version =
|
|
511
|
+
const version = _chunk2IDK6NX3cjs.getRivetEnvoyVersion.call(void 0, );
|
|
512
512
|
if (version !== void 0) return version;
|
|
513
|
-
if (
|
|
513
|
+
if (_chunk2IDK6NX3cjs.getNodeEnv.call(void 0, ) === "production" && !warnedMissingVersion) {
|
|
514
514
|
warnedMissingVersion = true;
|
|
515
|
-
|
|
515
|
+
_chunk2IDK6NX3cjs.getLogger.call(void 0, "rivetkit").error(
|
|
516
516
|
"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"
|
|
517
517
|
);
|
|
518
518
|
}
|
|
519
519
|
return 1;
|
|
520
520
|
}),
|
|
521
521
|
// Deprecated.
|
|
522
|
-
totalSlots: _v4.z.number().default(() => _nullishCoalesce(
|
|
522
|
+
totalSlots: _v4.z.number().default(() => _nullishCoalesce(_chunk2IDK6NX3cjs.getRivetTotalSlots.call(void 0, ), () => ( 1e5))),
|
|
523
523
|
envoyKey: _v4.z.string().optional()
|
|
524
524
|
});
|
|
525
525
|
|
|
@@ -557,7 +557,7 @@ var ServerlessConfigSchema = _v4.z.object({
|
|
|
557
557
|
*
|
|
558
558
|
* Can also be set via RIVET_PUBLIC_ENDPOINT environment variable.
|
|
559
559
|
*/
|
|
560
|
-
publicEndpoint: _v4.z.string().optional().transform((val) => _nullishCoalesce(val, () => (
|
|
560
|
+
publicEndpoint: _v4.z.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunk2IDK6NX3cjs.getRivetPublicEndpoint.call(void 0, )))),
|
|
561
561
|
/**
|
|
562
562
|
* Token that clients should use when connecting via the public endpoint.
|
|
563
563
|
*
|
|
@@ -565,7 +565,7 @@ var ServerlessConfigSchema = _v4.z.object({
|
|
|
565
565
|
*
|
|
566
566
|
* Can also be specified in the publicEndpoint URL as `https://namespace:token@host`.
|
|
567
567
|
*/
|
|
568
|
-
publicToken: _v4.z.string().optional().transform((val) => _nullishCoalesce(val, () => (
|
|
568
|
+
publicToken: _v4.z.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunk2IDK6NX3cjs.getRivetPublicToken.call(void 0, ))))
|
|
569
569
|
// There is no publicNamespace config option because the frontend and backend
|
|
570
570
|
// cannot use different namespaces. The namespace is extracted from the
|
|
571
571
|
// publicEndpoint URL auth syntax if provided.
|
|
@@ -619,7 +619,7 @@ var RegistryConfigSchema = _zod.z.object({
|
|
|
619
619
|
* Runtime binding to use for RivetKit core.
|
|
620
620
|
* */
|
|
621
621
|
runtime: RuntimeKindSchema.optional().transform((val, ctx) => {
|
|
622
|
-
const rawRuntime = _nullishCoalesce(val, () => (
|
|
622
|
+
const rawRuntime = _nullishCoalesce(val, () => ( _chunk2IDK6NX3cjs.getRivetkitRuntime.call(void 0, )));
|
|
623
623
|
if (rawRuntime === void 0) {
|
|
624
624
|
return "auto";
|
|
625
625
|
}
|
|
@@ -656,7 +656,7 @@ var RegistryConfigSchema = _zod.z.object({
|
|
|
656
656
|
* */
|
|
657
657
|
logging: _zod.z.object({
|
|
658
658
|
baseLogger: _zod.z.custom().optional(),
|
|
659
|
-
level:
|
|
659
|
+
level: _chunk2IDK6NX3cjs.LogLevelSchema.optional()
|
|
660
660
|
}).optional().default(() => ({})),
|
|
661
661
|
// MARK: Routing
|
|
662
662
|
// // This is a function to allow for lazy configuration of upgradeWebSocket on the
|
|
@@ -674,9 +674,9 @@ var RegistryConfigSchema = _zod.z.object({
|
|
|
674
674
|
*
|
|
675
675
|
* Can also be set via RIVET_ENDPOINT environment variables.
|
|
676
676
|
*/
|
|
677
|
-
endpoint: _zod.z.string().optional().transform((val) => _nullishCoalesce(_nullishCoalesce(val, () => (
|
|
678
|
-
token: _zod.z.string().optional().transform((val) => _nullishCoalesce(val, () => (
|
|
679
|
-
namespace: _zod.z.string().optional().transform((val) => _nullishCoalesce(val, () => (
|
|
677
|
+
endpoint: _zod.z.string().optional().transform((val) => _nullishCoalesce(_nullishCoalesce(val, () => ( _chunk2IDK6NX3cjs.getRivetEngine.call(void 0, ))), () => ( _chunk2IDK6NX3cjs.getRivetEndpoint.call(void 0, )))),
|
|
678
|
+
token: _zod.z.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunk2IDK6NX3cjs.getRivetToken.call(void 0, )))),
|
|
679
|
+
namespace: _zod.z.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunk2IDK6NX3cjs.getRivetNamespace.call(void 0, )))),
|
|
680
680
|
headers: _zod.z.record(_zod.z.string(), _zod.z.string()).optional().default({}),
|
|
681
681
|
// MARK: Client
|
|
682
682
|
// TODO:
|
|
@@ -716,21 +716,21 @@ var RegistryConfigSchema = _zod.z.object({
|
|
|
716
716
|
*
|
|
717
717
|
* Starts the full Rust engine process locally.
|
|
718
718
|
*/
|
|
719
|
-
startEngine: _zod.z.boolean().default(() =>
|
|
719
|
+
startEngine: _zod.z.boolean().default(() => _chunk2IDK6NX3cjs.getRivetRunEngine.call(void 0, )),
|
|
720
720
|
/**
|
|
721
721
|
* @experimental
|
|
722
722
|
*
|
|
723
723
|
* Host to bind the spawned local engine process to.
|
|
724
724
|
*/
|
|
725
|
-
engineHost: _zod.z.string().optional().default(() => _nullishCoalesce(
|
|
725
|
+
engineHost: _zod.z.string().optional().default(() => _nullishCoalesce(_chunk2IDK6NX3cjs.getRivetRunEngineHost.call(void 0, ), () => ( ENGINE_HOST))),
|
|
726
726
|
/**
|
|
727
727
|
* @experimental
|
|
728
728
|
*
|
|
729
729
|
* Port to bind the spawned local engine process to.
|
|
730
730
|
*/
|
|
731
|
-
enginePort: _zod.z.number().int().min(1).max(65535).optional().default(() => _nullishCoalesce(
|
|
731
|
+
enginePort: _zod.z.number().int().min(1).max(65535).optional().default(() => _nullishCoalesce(_chunk2IDK6NX3cjs.getRivetRunEnginePort.call(void 0, ), () => ( ENGINE_PORT))),
|
|
732
732
|
/** @experimental */
|
|
733
|
-
engineVersion: _zod.z.string().optional().default(() => _nullishCoalesce(
|
|
733
|
+
engineVersion: _zod.z.string().optional().default(() => _nullishCoalesce(_chunk2IDK6NX3cjs.getRivetRunEngineVersion.call(void 0, ), () => ( _chunk2IDK6NX3cjs.VERSION))),
|
|
734
734
|
/**
|
|
735
735
|
* Starts the first-party Services actor host when RivetKit manages
|
|
736
736
|
* a local engine. Defaults to the local-engine decision. Set
|
|
@@ -784,7 +784,7 @@ var RegistryConfigSchema = _zod.z.object({
|
|
|
784
784
|
}))
|
|
785
785
|
}).transform((config, ctx) => {
|
|
786
786
|
var _a, _b, _c;
|
|
787
|
-
const isDevEnv =
|
|
787
|
+
const isDevEnv = _chunk2IDK6NX3cjs.isDev.call(void 0, );
|
|
788
788
|
const sqliteBackend = _nullishCoalesce(((_a = config.sqlite) == null ? void 0 : _a.backend), () => ( ((_b = config.test) == null ? void 0 : _b.sqliteBackend)));
|
|
789
789
|
if (config.runtime === "wasm" && sqliteBackend === "local") {
|
|
790
790
|
ctx.addIssue({
|
|
@@ -794,7 +794,7 @@ var RegistryConfigSchema = _zod.z.object({
|
|
|
794
794
|
});
|
|
795
795
|
}
|
|
796
796
|
const sqlite = config.runtime === "wasm" && config.sqlite === void 0 ? { backend: "remote" } : config.sqlite;
|
|
797
|
-
const parsedEndpoint = config.endpoint ?
|
|
797
|
+
const parsedEndpoint = config.endpoint ? _chunkNRIRV3Z2cjs.tryParseEndpoint.call(void 0, ctx, {
|
|
798
798
|
endpoint: config.endpoint,
|
|
799
799
|
path: ["endpoint"],
|
|
800
800
|
namespace: config.namespace,
|
|
@@ -817,13 +817,13 @@ var RegistryConfigSchema = _zod.z.object({
|
|
|
817
817
|
config.enginePort
|
|
818
818
|
);
|
|
819
819
|
const endpoint = config.startEngine ? localEngineEndpoint : _nullishCoalesce((parsedEndpoint == null ? void 0 : parsedEndpoint.endpoint), () => ( (isDevEnv ? localEngineEndpoint : void 0)));
|
|
820
|
-
const startServices = _nullishCoalesce(_nullishCoalesce(config.startServices, () => (
|
|
820
|
+
const startServices = _nullishCoalesce(_nullishCoalesce(config.startServices, () => ( _chunk2IDK6NX3cjs.getRivetRunServices.call(void 0, ))), () => ( Boolean(endpoint && isLocalEngineEndpoint(endpoint))));
|
|
821
821
|
const validateServerlessEndpoint = Boolean(
|
|
822
822
|
config.startEngine || parsedEndpoint
|
|
823
823
|
);
|
|
824
824
|
const namespace = _nullishCoalesce(_nullishCoalesce((parsedEndpoint == null ? void 0 : parsedEndpoint.namespace), () => ( config.namespace)), () => ( "default"));
|
|
825
825
|
const token = _nullishCoalesce(_nullishCoalesce((parsedEndpoint == null ? void 0 : parsedEndpoint.token), () => ( config.token)), () => ( "dev"));
|
|
826
|
-
const parsedPublicEndpoint = config.serverless.publicEndpoint ?
|
|
826
|
+
const parsedPublicEndpoint = config.serverless.publicEndpoint ? _chunkNRIRV3Z2cjs.tryParseEndpoint.call(void 0, ctx, {
|
|
827
827
|
endpoint: config.serverless.publicEndpoint,
|
|
828
828
|
path: ["serverless", "publicEndpoint"]
|
|
829
829
|
}) : void 0;
|
|
@@ -927,7 +927,7 @@ var DocRegistryConfigSchema = _zod.z.object({
|
|
|
927
927
|
noWelcome: _zod.z.boolean().optional().describe("Disable the welcome message on startup. Default: false"),
|
|
928
928
|
sqlite: DocSqliteConfigSchema,
|
|
929
929
|
logging: _zod.z.object({
|
|
930
|
-
level:
|
|
930
|
+
level: _chunk2IDK6NX3cjs.LogLevelSchema.optional().describe(
|
|
931
931
|
"Log level for RivetKit. Default: 'warn'"
|
|
932
932
|
)
|
|
933
933
|
}).optional().describe("Logging configuration."),
|
|
@@ -2057,8 +2057,8 @@ function runtimeBytesToArrayBuffer(value) {
|
|
|
2057
2057
|
function buildNativeHttpRequest(init) {
|
|
2058
2058
|
var _a;
|
|
2059
2059
|
const headers = new Headers(init.headers);
|
|
2060
|
-
const originalUrl = headers.get(
|
|
2061
|
-
headers.delete(
|
|
2060
|
+
const originalUrl = headers.get(_chunkNRIRV3Z2cjs.HEADER_ORIGINAL_REQUEST_URL);
|
|
2061
|
+
headers.delete(_chunkNRIRV3Z2cjs.HEADER_ORIGINAL_REQUEST_URL);
|
|
2062
2062
|
const url = _nullishCoalesce(originalUrl, () => ( (init.uri.startsWith("http") ? init.uri : new URL(init.uri, "http://127.0.0.1").toString())));
|
|
2063
2063
|
const method2 = init.method.toUpperCase();
|
|
2064
2064
|
const bodyForbidden = method2 === "GET" || method2 === "HEAD";
|
|
@@ -2137,7 +2137,7 @@ async function pumpResponseBody(reader, stream) {
|
|
|
2137
2137
|
}
|
|
2138
2138
|
} catch (error) {
|
|
2139
2139
|
try {
|
|
2140
|
-
await stream.error(
|
|
2140
|
+
await stream.error(_chunk2IDK6NX3cjs.stringifyError.call(void 0, error));
|
|
2141
2141
|
} catch (streamError) {
|
|
2142
2142
|
logger2().debug({
|
|
2143
2143
|
msg: "failed to report native http response stream error",
|
|
@@ -3352,7 +3352,7 @@ async function loadAutoRuntime(config, loaders = defaultRuntimeLoaders) {
|
|
|
3352
3352
|
nativeError = error;
|
|
3353
3353
|
logger2().warn({
|
|
3354
3354
|
msg: "native runtime failed to load; falling back to wasm",
|
|
3355
|
-
error:
|
|
3355
|
+
error: _chunk2IDK6NX3cjs.stringifyError.call(void 0, error)
|
|
3356
3356
|
});
|
|
3357
3357
|
}
|
|
3358
3358
|
try {
|
|
@@ -3361,7 +3361,7 @@ async function loadAutoRuntime(config, loaders = defaultRuntimeLoaders) {
|
|
|
3361
3361
|
throw new (0, _chunk2JSYYH6Pcjs.RivetError)(
|
|
3362
3362
|
"config",
|
|
3363
3363
|
"runtime_unavailable",
|
|
3364
|
-
`RivetKit could not load a core runtime. Native runtime: ${
|
|
3364
|
+
`RivetKit could not load a core runtime. Native runtime: ${_chunk2IDK6NX3cjs.stringifyError.call(void 0, nativeError)} Wasm runtime: ${_chunk2IDK6NX3cjs.stringifyError.call(void 0, wasmError)}`,
|
|
3365
3365
|
{
|
|
3366
3366
|
public: true,
|
|
3367
3367
|
statusCode: 500
|
|
@@ -3555,7 +3555,7 @@ async function cleanupNativeSleepRuntimeState(runtime, ctx, afterTrackedWorkDrai
|
|
|
3555
3555
|
}).catch((error) => {
|
|
3556
3556
|
logger2().warn({
|
|
3557
3557
|
msg: "deferred native sleep cleanup failed",
|
|
3558
|
-
error:
|
|
3558
|
+
error: _chunk2IDK6NX3cjs.stringifyError.call(void 0, error)
|
|
3559
3559
|
});
|
|
3560
3560
|
});
|
|
3561
3561
|
return;
|
|
@@ -3718,10 +3718,10 @@ function decodeValue(value) {
|
|
|
3718
3718
|
if (!value || value.length === 0) {
|
|
3719
3719
|
return void 0;
|
|
3720
3720
|
}
|
|
3721
|
-
return
|
|
3721
|
+
return _chunk2IDK6NX3cjs.decodeCborCompat.call(void 0, value);
|
|
3722
3722
|
}
|
|
3723
3723
|
function encodeValue(value) {
|
|
3724
|
-
return
|
|
3724
|
+
return _chunk2IDK6NX3cjs.encodeCborCompat.call(void 0, value);
|
|
3725
3725
|
}
|
|
3726
3726
|
function normalizeArgs(value) {
|
|
3727
3727
|
return Array.isArray(value) ? value : value === void 0 || value === null ? [] : [value];
|
|
@@ -3757,7 +3757,7 @@ function isStructuredBridgeError(error) {
|
|
|
3757
3757
|
return _chunk2JSYYH6Pcjs.isRivetErrorLike.call(void 0, error) && "__type" in error && (error.__type === "RivetError" || error.__type === "ActorError");
|
|
3758
3758
|
}
|
|
3759
3759
|
function encodeNativeCallbackError(error) {
|
|
3760
|
-
const structuredError = isStructuredBridgeError(error) ? error :
|
|
3760
|
+
const structuredError = isStructuredBridgeError(error) ? error : _chunk2IDK6NX3cjs.deconstructError.call(void 0, error, true);
|
|
3761
3761
|
const bridgeError = new Error(_chunk2JSYYH6Pcjs.encodeBridgeRivetError.call(void 0, structuredError), {
|
|
3762
3762
|
cause: error instanceof Error ? error : void 0
|
|
3763
3763
|
});
|
|
@@ -3808,7 +3808,7 @@ function decodeWorkflowCbor(data) {
|
|
|
3808
3808
|
return null;
|
|
3809
3809
|
}
|
|
3810
3810
|
try {
|
|
3811
|
-
return
|
|
3811
|
+
return _chunk2IDK6NX3cjs.decodeCborCompat.call(void 0, new Uint8Array(data));
|
|
3812
3812
|
} catch (e4) {
|
|
3813
3813
|
return null;
|
|
3814
3814
|
}
|
|
@@ -3921,7 +3921,7 @@ function serializeWorkflowHistoryForJson(data) {
|
|
|
3921
3921
|
if (data === null) {
|
|
3922
3922
|
return null;
|
|
3923
3923
|
}
|
|
3924
|
-
const history =
|
|
3924
|
+
const history = _chunkIKZ6DJMPcjs.decodeWorkflowHistoryTransport.call(void 0, data);
|
|
3925
3925
|
return jsonSafe({
|
|
3926
3926
|
nameRegistry: [...history.nameRegistry],
|
|
3927
3927
|
entries: history.entries.map((entry) => ({
|
|
@@ -4067,7 +4067,7 @@ var NativeConnAdapter = class {
|
|
|
4067
4067
|
},
|
|
4068
4068
|
(newValue) => {
|
|
4069
4069
|
assertCurrentState();
|
|
4070
|
-
|
|
4070
|
+
_chunk2IDK6NX3cjs.assertJsonCompatValue.call(void 0, newValue);
|
|
4071
4071
|
}
|
|
4072
4072
|
);
|
|
4073
4073
|
}
|
|
@@ -4075,7 +4075,7 @@ var NativeConnAdapter = class {
|
|
|
4075
4075
|
var _a;
|
|
4076
4076
|
(_a = this.#assertCanMutateState) == null ? void 0 : _a.call(this);
|
|
4077
4077
|
const nextValue = unwrapWriteThroughProxy(value);
|
|
4078
|
-
|
|
4078
|
+
_chunk2IDK6NX3cjs.assertJsonCompatValue.call(void 0, nextValue);
|
|
4079
4079
|
this.#writeState(nextValue, { writeNative: true });
|
|
4080
4080
|
}
|
|
4081
4081
|
initializeState(value) {
|
|
@@ -5149,7 +5149,7 @@ var ActorContextHandleAdapter = class {
|
|
|
5149
5149
|
},
|
|
5150
5150
|
(newValue) => {
|
|
5151
5151
|
assertCurrentState();
|
|
5152
|
-
|
|
5152
|
+
_chunk2IDK6NX3cjs.assertJsonCompatValue.call(void 0, newValue);
|
|
5153
5153
|
}
|
|
5154
5154
|
);
|
|
5155
5155
|
}
|
|
@@ -5161,7 +5161,7 @@ var ActorContextHandleAdapter = class {
|
|
|
5161
5161
|
}
|
|
5162
5162
|
this.#assertCanMutateState();
|
|
5163
5163
|
const nextValue = unwrapWriteThroughProxy(value);
|
|
5164
|
-
|
|
5164
|
+
_chunk2IDK6NX3cjs.assertJsonCompatValue.call(void 0, nextValue);
|
|
5165
5165
|
this.#writeState(nextValue, { scheduleSave: true });
|
|
5166
5166
|
}
|
|
5167
5167
|
initializeState(value) {
|
|
@@ -5345,7 +5345,7 @@ var ActorContextHandleAdapter = class {
|
|
|
5345
5345
|
log: {
|
|
5346
5346
|
debug: (obj) => logger2().debug(obj)
|
|
5347
5347
|
},
|
|
5348
|
-
nativeDatabaseProvider:
|
|
5348
|
+
nativeDatabaseProvider: _chunkT6JUXRNIcjs.registerNativeStateTransactionOpener.call(void 0,
|
|
5349
5349
|
{
|
|
5350
5350
|
open: async (requestedActorId) => {
|
|
5351
5351
|
void requestedActorId;
|
|
@@ -5368,7 +5368,7 @@ var ActorContextHandleAdapter = class {
|
|
|
5368
5368
|
return this.#db;
|
|
5369
5369
|
}
|
|
5370
5370
|
#bindDatabaseClient(client) {
|
|
5371
|
-
return
|
|
5371
|
+
return _chunkT6JUXRNIcjs.bindNativeStateTransactionContext.call(void 0, client, {
|
|
5372
5372
|
enter: async () => await this.#enterStateTransaction(),
|
|
5373
5373
|
exit: (scope) => this.#exitStateTransaction(
|
|
5374
5374
|
scope
|
|
@@ -5572,7 +5572,7 @@ var ActorContextHandleAdapter = class {
|
|
|
5572
5572
|
const trackedPromise = Promise.resolve(promise).catch((error) => {
|
|
5573
5573
|
logger2().warn({
|
|
5574
5574
|
msg: "keepAwake promise rejected",
|
|
5575
|
-
error:
|
|
5575
|
+
error: _chunk2IDK6NX3cjs.stringifyError.call(void 0, error)
|
|
5576
5576
|
});
|
|
5577
5577
|
}).then(() => null);
|
|
5578
5578
|
try {
|
|
@@ -6034,7 +6034,7 @@ function validateInspectorTabSource(tabId, resolved) {
|
|
|
6034
6034
|
function buildNativeFactory(runtime, registryConfig, definition) {
|
|
6035
6035
|
var _a;
|
|
6036
6036
|
const config = definition.config;
|
|
6037
|
-
const databaseProvider = _nullishCoalesce(config.db, () => (
|
|
6037
|
+
const databaseProvider = _nullishCoalesce(config.db, () => ( _chunkT6JUXRNIcjs.db.call(void 0, )));
|
|
6038
6038
|
const actionHandlers = _chunk4KGXFC6Mcjs.flattenActionHandlers.call(void 0, config.actions);
|
|
6039
6039
|
const schemaConfig = {
|
|
6040
6040
|
actionInputSchemas: _chunk4KGXFC6Mcjs.flattenActionInputSchemas.call(void 0,
|
|
@@ -6045,9 +6045,9 @@ function buildNativeFactory(runtime, registryConfig, definition) {
|
|
|
6045
6045
|
events: config.events,
|
|
6046
6046
|
queues: config.queues
|
|
6047
6047
|
};
|
|
6048
|
-
const createClient = () =>
|
|
6049
|
-
new (0,
|
|
6050
|
-
|
|
6048
|
+
const createClient = () => _chunkNRIRV3Z2cjs.createClientWithDriver.call(void 0,
|
|
6049
|
+
new (0, _chunkNRIRV3Z2cjs.RemoteEngineControlClient)(
|
|
6050
|
+
_chunkNRIRV3Z2cjs.convertRegistryConfigToClientConfig.call(void 0, registryConfig)
|
|
6051
6051
|
),
|
|
6052
6052
|
{ encoding: "bare" }
|
|
6053
6053
|
);
|
|
@@ -6231,7 +6231,7 @@ function buildNativeFactory(runtime, registryConfig, definition) {
|
|
|
6231
6231
|
400
|
|
6232
6232
|
);
|
|
6233
6233
|
}
|
|
6234
|
-
const cbor =
|
|
6234
|
+
const cbor = _chunk2IDK6NX3cjs.encodeCborCompat.call(void 0,
|
|
6235
6235
|
_nullishCoalesce(body.body, () => ( null))
|
|
6236
6236
|
);
|
|
6237
6237
|
const message = await runtime.actorQueueSend(ctx, name, cbor);
|
|
@@ -6818,7 +6818,7 @@ function buildNativeFactory(runtime, registryConfig, definition) {
|
|
|
6818
6818
|
...request,
|
|
6819
6819
|
abortController: requestAbortController
|
|
6820
6820
|
});
|
|
6821
|
-
const rawConnParams = handlerRequest.headers.get(
|
|
6821
|
+
const rawConnParams = handlerRequest.headers.get(_chunkNRIRV3Z2cjs.HEADER_CONN_PARAMS);
|
|
6822
6822
|
let requestCtx;
|
|
6823
6823
|
let conn;
|
|
6824
6824
|
let removeRequestAbortListener;
|
|
@@ -6873,7 +6873,7 @@ function buildNativeFactory(runtime, registryConfig, definition) {
|
|
|
6873
6873
|
requestCtx,
|
|
6874
6874
|
handlerRequest
|
|
6875
6875
|
);
|
|
6876
|
-
if (!
|
|
6876
|
+
if (!_chunkNRIRV3Z2cjs.isResponseLike.call(void 0, response)) {
|
|
6877
6877
|
throw new Error(
|
|
6878
6878
|
"onRequest handler must return a Response"
|
|
6879
6879
|
);
|
|
@@ -6966,7 +6966,7 @@ function buildNativeFactory(runtime, registryConfig, definition) {
|
|
|
6966
6966
|
var _a2;
|
|
6967
6967
|
const { ctx } = unwrapTsfnPayload(error, payload);
|
|
6968
6968
|
const history = (_a2 = getNativeWorkflowInspector(ctx)) == null ? void 0 : _a2.getHistory();
|
|
6969
|
-
return history == null ? void 0 :
|
|
6969
|
+
return history == null ? void 0 : _chunk2IDK6NX3cjs.toUint8Array.call(void 0, history);
|
|
6970
6970
|
}
|
|
6971
6971
|
) : void 0,
|
|
6972
6972
|
replayWorkflow: _chunk4KGXFC6Mcjs.hasRunInspectorConfig.call(void 0, config.run) ? wrapNativeCallback(
|
|
@@ -6980,7 +6980,7 @@ function buildNativeFactory(runtime, registryConfig, definition) {
|
|
|
6980
6980
|
return void 0;
|
|
6981
6981
|
}
|
|
6982
6982
|
const history = await _asyncNullishCoalesce(await workflowInspector.replayFromStep(entryId), async () => ( null));
|
|
6983
|
-
return history == null ? void 0 :
|
|
6983
|
+
return history == null ? void 0 : _chunk2IDK6NX3cjs.toUint8Array.call(void 0, history);
|
|
6984
6984
|
}
|
|
6985
6985
|
) : void 0,
|
|
6986
6986
|
actions: Object.fromEntries(
|
|
@@ -7105,7 +7105,7 @@ async function buildServeConfig(config, resolveServicesBinary = true) {
|
|
|
7105
7105
|
startServices: resolveServicesBinary && config.startServices,
|
|
7106
7106
|
handleInspectorHttpInRuntime: true,
|
|
7107
7107
|
serverlessBasePath: config.serverless.basePath,
|
|
7108
|
-
serverlessPackageVersion:
|
|
7108
|
+
serverlessPackageVersion: _chunk2IDK6NX3cjs.VERSION,
|
|
7109
7109
|
serverlessClientEndpoint: config.publicEndpoint,
|
|
7110
7110
|
serverlessClientNamespace: config.publicNamespace,
|
|
7111
7111
|
serverlessClientToken: config.publicToken,
|
|
@@ -7118,7 +7118,7 @@ async function buildServeConfig(config, resolveServicesBinary = true) {
|
|
|
7118
7118
|
} catch (error) {
|
|
7119
7119
|
logger2().warn({
|
|
7120
7120
|
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",
|
|
7121
|
-
error:
|
|
7121
|
+
error: _chunk2IDK6NX3cjs.stringifyError.call(void 0, error)
|
|
7122
7122
|
});
|
|
7123
7123
|
}
|
|
7124
7124
|
if (resolveServicesBinary && config.startServices) {
|
|
@@ -7128,20 +7128,20 @@ async function buildServeConfig(config, resolveServicesBinary = true) {
|
|
|
7128
7128
|
} catch (error) {
|
|
7129
7129
|
logger2().warn({
|
|
7130
7130
|
msg: "could not resolve the Services binary; a local engine will fail with services.binary_unavailable \u2014 set RIVET_RUN_SERVICES=0 to disable Services or RIVET_SERVICES_BINARY to a local rivet-services binary",
|
|
7131
|
-
error:
|
|
7131
|
+
error: _chunk2IDK6NX3cjs.stringifyError.call(void 0, error)
|
|
7132
7132
|
});
|
|
7133
7133
|
}
|
|
7134
7134
|
}
|
|
7135
7135
|
serveConfig.engineHost = config.engineHost;
|
|
7136
7136
|
serveConfig.enginePort = config.enginePort;
|
|
7137
7137
|
if ((_a = config.test) == null ? void 0 : _a.enabled) {
|
|
7138
|
-
serveConfig.inspectorTestToken = _nullishCoalesce(
|
|
7138
|
+
serveConfig.inspectorTestToken = _nullishCoalesce(_chunk2IDK6NX3cjs.getEnvUniversal.call(void 0, "_RIVET_TEST_INSPECTOR_TOKEN"), () => ( "token"));
|
|
7139
7139
|
}
|
|
7140
7140
|
return serveConfig;
|
|
7141
7141
|
}
|
|
7142
7142
|
async function buildRegistryWithRuntime(config, runtime) {
|
|
7143
7143
|
var _a;
|
|
7144
|
-
if (((_a = config.test) == null ? void 0 : _a.enabled) &&
|
|
7144
|
+
if (((_a = config.test) == null ? void 0 : _a.enabled) && _chunk2IDK6NX3cjs.getEnvUniversal.call(void 0, "_RIVET_TEST_INSPECTOR_TOKEN") === void 0) {
|
|
7145
7145
|
trySetProcessEnv("_RIVET_TEST_INSPECTOR_TOKEN", "token");
|
|
7146
7146
|
}
|
|
7147
7147
|
if (runtime.kind === "napi") {
|
|
@@ -7208,7 +7208,7 @@ function createApplicationFetch(application, runtime) {
|
|
|
7208
7208
|
signal: abortController.signal
|
|
7209
7209
|
})
|
|
7210
7210
|
);
|
|
7211
|
-
if (!
|
|
7211
|
+
if (!_chunkNRIRV3Z2cjs.isResponseLike.call(void 0, response)) {
|
|
7212
7212
|
throw new TypeError(
|
|
7213
7213
|
"registry.listen() application fetch must return a Response"
|
|
7214
7214
|
);
|
|
@@ -7258,7 +7258,7 @@ var Registry = class {
|
|
|
7258
7258
|
var _a;
|
|
7259
7259
|
this.#config = config;
|
|
7260
7260
|
if ((_a = config.logging) == null ? void 0 : _a.baseLogger) {
|
|
7261
|
-
|
|
7261
|
+
_chunk2IDK6NX3cjs.configureBaseLogger.call(void 0, config.logging.baseLogger);
|
|
7262
7262
|
}
|
|
7263
7263
|
this.#buildConfiguredRegistry = _nullishCoalesce((deps == null ? void 0 : deps.buildConfiguredRegistry), () => ( buildConfiguredRegistry));
|
|
7264
7264
|
this.routes = {
|
|
@@ -7484,10 +7484,10 @@ var Registry = class {
|
|
|
7484
7484
|
* ```
|
|
7485
7485
|
*/
|
|
7486
7486
|
async listen(opts = {}) {
|
|
7487
|
-
const port = _nullishCoalesce(_nullishCoalesce(opts.port, () => (
|
|
7488
|
-
const publicDir = _nullishCoalesce(opts.publicDir, () => (
|
|
7487
|
+
const port = _nullishCoalesce(_nullishCoalesce(opts.port, () => ( _chunk2IDK6NX3cjs.parsePortEnv.call(void 0, process.env.RIVET_PORT))), () => ( 3e3));
|
|
7488
|
+
const publicDir = _nullishCoalesce(opts.publicDir, () => ( _chunk2IDK6NX3cjs.getRivetkitPublicDir.call(void 0, )));
|
|
7489
7489
|
const config = this.parseConfig();
|
|
7490
|
-
if (opts.application &&
|
|
7490
|
+
if (opts.application && _chunk2IDK6NX3cjs.getRivetkitRuntimeMode.call(void 0, ) !== "serverless") {
|
|
7491
7491
|
if (config.runtime === "wasm") {
|
|
7492
7492
|
throw new Error(
|
|
7493
7493
|
"registry.listen() requires the native runtime; use an application-owned HTTP server with WebAssembly"
|
|
@@ -7563,7 +7563,7 @@ var Registry = class {
|
|
|
7563
7563
|
return jsonRouteResponse(503, {
|
|
7564
7564
|
status: "not_started",
|
|
7565
7565
|
runtime: "rivetkit",
|
|
7566
|
-
version:
|
|
7566
|
+
version: _chunk2IDK6NX3cjs.VERSION
|
|
7567
7567
|
});
|
|
7568
7568
|
}
|
|
7569
7569
|
const { runtime, registry } = configured;
|
|
@@ -7571,7 +7571,7 @@ var Registry = class {
|
|
|
7571
7571
|
return jsonRouteResponse(501, {
|
|
7572
7572
|
status: "unsupported",
|
|
7573
7573
|
runtime: "rivetkit",
|
|
7574
|
-
version:
|
|
7574
|
+
version: _chunk2IDK6NX3cjs.VERSION
|
|
7575
7575
|
});
|
|
7576
7576
|
}
|
|
7577
7577
|
const response = await runtime.registryHealth(registry);
|
|
@@ -7818,7 +7818,7 @@ var Registry = class {
|
|
|
7818
7818
|
);
|
|
7819
7819
|
}
|
|
7820
7820
|
if (this.#runtimeReadyPromise) return this.#runtimeReadyPromise;
|
|
7821
|
-
if (
|
|
7821
|
+
if (_chunk2IDK6NX3cjs.getRivetkitRuntimeMode.call(void 0, ) === "serverless") {
|
|
7822
7822
|
return Promise.reject(
|
|
7823
7823
|
new Error(
|
|
7824
7824
|
"registry.startAndWait() requires envoy runtime mode; serverless registries become ready per request"
|
|
@@ -7888,8 +7888,8 @@ var Registry = class {
|
|
|
7888
7888
|
* ```
|
|
7889
7889
|
*/
|
|
7890
7890
|
start() {
|
|
7891
|
-
if (
|
|
7892
|
-
const publicDir = _nullishCoalesce(
|
|
7891
|
+
if (_chunk2IDK6NX3cjs.getRivetkitRuntimeMode.call(void 0, ) === "serverless") {
|
|
7892
|
+
const publicDir = _nullishCoalesce(_chunk2IDK6NX3cjs.getRivetkitPublicDir.call(void 0, ), () => ( "/public"));
|
|
7893
7893
|
this.listen({ publicDir }).catch((error) => {
|
|
7894
7894
|
logger2().error({ error }, "auto-listen failed; exiting");
|
|
7895
7895
|
if (typeof process !== "undefined" && typeof process.exit === "function") {
|
|
@@ -7910,7 +7910,7 @@ var Registry = class {
|
|
|
7910
7910
|
};
|
|
7911
7911
|
console.log();
|
|
7912
7912
|
console.log(
|
|
7913
|
-
` RivetKit ${
|
|
7913
|
+
` RivetKit ${_chunk2IDK6NX3cjs.VERSION} (Engine - ${kind === "serverless" ? "Serverless" : "Serverful"})`
|
|
7914
7914
|
);
|
|
7915
7915
|
if (config.namespace !== "default") {
|
|
7916
7916
|
logLine("Namespace", config.namespace);
|
|
@@ -7986,5 +7986,5 @@ function setup(input) {
|
|
|
7986
7986
|
|
|
7987
7987
|
|
|
7988
7988
|
|
|
7989
|
-
exports.ALLOWED_PUBLIC_HEADERS =
|
|
7989
|
+
exports.ALLOWED_PUBLIC_HEADERS = _chunkNRIRV3Z2cjs.ALLOWED_PUBLIC_HEADERS; exports.ActorDefinition = ActorDefinition; exports.ActorError = _chunk2JSYYH6Pcjs.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 = _chunk2JSYYH6Pcjs.RivetError; exports.RuntimeKindSchema = RuntimeKindSchema; exports.SqliteBackendSchema = SqliteBackendSchema; exports.SqliteConfigSchema = SqliteConfigSchema; exports.TestConfigSchema = TestConfigSchema; exports.UserError = _chunk2JSYYH6Pcjs.UserError; exports.WasmRuntimeConfigSchema = WasmRuntimeConfigSchema; exports.actor = actor; exports.buildActorNames = buildActorNames; exports.createClientWithDriver = _chunkNRIRV3Z2cjs.createClientWithDriver; exports.defineRunHandler = _chunk4KGXFC6Mcjs.defineRunHandler; exports.event = event; exports.isStaticActorDefinition = isStaticActorDefinition; exports.isStaticActorInstance = isStaticActorInstance; exports.lookupInRegistry = lookupInRegistry; exports.noopNext = _chunk2IDK6NX3cjs.noopNext; exports.queue = queue; exports.setup = setup; exports.toUint8Array = _chunk2IDK6NX3cjs.toUint8Array;
|
|
7990
7990
|
//# sourceMappingURL=mod.cjs.map
|