rivetkit 2.3.5 → 2.3.7
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.d.ts +19 -5
- package/dist/browser/client.js +32 -9
- package/dist/browser/client.js.map +1 -1
- package/dist/browser/inspector/client.js +12 -2
- package/dist/browser/inspector/client.js.map +1 -1
- package/dist/tsup/agent-os/index.cjs +115 -5
- package/dist/tsup/agent-os/index.cjs.map +1 -1
- package/dist/tsup/agent-os/index.d.cts +19 -5
- package/dist/tsup/agent-os/index.d.ts +19 -5
- package/dist/tsup/agent-os/index.js +115 -5
- package/dist/tsup/agent-os/index.js.map +1 -1
- package/dist/tsup/{chunk-ID7DMKXR.cjs → chunk-2SGPZEAJ.cjs} +13 -3
- package/dist/tsup/chunk-2SGPZEAJ.cjs.map +1 -0
- package/dist/tsup/{chunk-2GZPBFZV.cjs → chunk-46AE7JOI.cjs} +262 -252
- package/dist/tsup/chunk-46AE7JOI.cjs.map +1 -0
- package/dist/tsup/{chunk-FJQ36P7Q.js → chunk-6D2WRHJV.js} +2 -2
- package/dist/tsup/{chunk-WGRSAJSX.js → chunk-7YQJXWBW.js} +3 -3
- package/dist/tsup/{chunk-NYEGEML6.js → chunk-CH25U5NO.js} +3 -3
- package/dist/tsup/{chunk-7IIAJQTF.cjs → chunk-DOPH7DT2.cjs} +7 -7
- package/dist/tsup/{chunk-7IIAJQTF.cjs.map → chunk-DOPH7DT2.cjs.map} +1 -1
- package/dist/tsup/{chunk-G3CCRCTK.cjs → chunk-HNHLBM3Y.cjs} +108 -6
- package/dist/tsup/chunk-HNHLBM3Y.cjs.map +1 -0
- package/dist/tsup/{chunk-TKPQNJQ2.cjs → chunk-MNZFNIVI.cjs} +3 -3
- package/dist/tsup/{chunk-TKPQNJQ2.cjs.map → chunk-MNZFNIVI.cjs.map} +1 -1
- package/dist/tsup/{chunk-YOP6FRYG.js → chunk-OG4OR2CM.js} +13 -3
- package/dist/tsup/chunk-OG4OR2CM.js.map +1 -0
- package/dist/tsup/{chunk-SHBE77IT.js → chunk-QWLJCP3X.js} +106 -4
- package/dist/tsup/chunk-QWLJCP3X.js.map +1 -0
- package/dist/tsup/{chunk-PG5P2IDC.cjs → chunk-TQHMPWL6.cjs} +9 -9
- package/dist/tsup/{chunk-PG5P2IDC.cjs.map → chunk-TQHMPWL6.cjs.map} +1 -1
- package/dist/tsup/{chunk-7HDG7FY3.cjs → chunk-UIZZCJ5W.cjs} +4 -4
- package/dist/tsup/{chunk-7HDG7FY3.cjs.map → chunk-UIZZCJ5W.cjs.map} +1 -1
- package/dist/tsup/{chunk-ENPXVDGZ.js → chunk-YHPFCYL3.js} +2 -2
- package/dist/tsup/{chunk-PMIEL4PM.js → chunk-YU3C5OCU.js} +130 -120
- package/dist/tsup/chunk-YU3C5OCU.js.map +1 -0
- package/dist/tsup/client/mod.cjs +5 -5
- package/dist/tsup/client/mod.d.cts +2 -2
- package/dist/tsup/client/mod.d.ts +2 -2
- 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/{config-BzdqbLAP.d.ts → config-BRpVbJCD.d.ts} +20 -6
- package/dist/tsup/{config-CPPEwn_e.d.cts → config-BobvQpex.d.cts} +20 -6
- package/dist/tsup/{context-wWv-K2K_.d.ts → context-Cj-DFyiy.d.ts} +1 -1
- package/dist/tsup/{context-DSA9gFXB.d.cts → context-YEBNJrws.d.cts} +1 -1
- package/dist/tsup/db/drizzle.cjs +2 -2
- package/dist/tsup/db/drizzle.js +1 -1
- package/dist/tsup/db/mod.cjs +2 -2
- package/dist/tsup/db/mod.js +1 -1
- package/dist/tsup/dynamic/mod.cjs +2 -2
- package/dist/tsup/dynamic/mod.d.cts +1 -1
- package/dist/tsup/dynamic/mod.d.ts +1 -1
- package/dist/tsup/dynamic/mod.js +1 -1
- package/dist/tsup/inspector/mod.cjs +4 -4
- package/dist/tsup/inspector/mod.js +3 -3
- package/dist/tsup/inspector-tab/mod.cjs +2 -2
- package/dist/tsup/inspector-tab/mod.d.cts +2 -2
- package/dist/tsup/inspector-tab/mod.d.ts +2 -2
- package/dist/tsup/inspector-tab/mod.js +1 -1
- package/dist/tsup/mod.cjs +175 -85
- package/dist/tsup/mod.cjs.map +1 -1
- package/dist/tsup/mod.d.cts +3 -3
- package/dist/tsup/mod.d.ts +3 -3
- package/dist/tsup/mod.js +107 -17
- package/dist/tsup/mod.js.map +1 -1
- package/dist/tsup/test/mod.cjs +16 -13
- package/dist/tsup/test/mod.cjs.map +1 -1
- package/dist/tsup/test/mod.d.cts +1 -1
- package/dist/tsup/test/mod.d.ts +1 -1
- package/dist/tsup/test/mod.js +15 -12
- package/dist/tsup/test/mod.js.map +1 -1
- package/dist/tsup/unstable/migrations.cjs +101 -0
- package/dist/tsup/unstable/migrations.cjs.map +1 -0
- package/dist/tsup/unstable/migrations.d.cts +29 -0
- package/dist/tsup/unstable/migrations.d.ts +29 -0
- package/dist/tsup/unstable/migrations.js +101 -0
- package/dist/tsup/unstable/migrations.js.map +1 -0
- package/dist/tsup/utils.cjs +2 -2
- package/dist/tsup/utils.js +1 -1
- package/dist/tsup/workflow/mod.cjs +9 -9
- package/dist/tsup/workflow/mod.d.cts +3 -3
- package/dist/tsup/workflow/mod.d.ts +3 -3
- package/dist/tsup/workflow/mod.js +4 -4
- package/package.json +19 -9
- package/src/actor/actions.ts +119 -0
- package/src/actor/config.ts +61 -18
- package/src/actor/definition.ts +3 -0
- package/src/client/actor-common.ts +3 -1
- package/src/client/client.ts +24 -11
- package/src/registry/config/index.ts +2 -4
- package/src/registry/index.ts +86 -5
- package/src/registry/napi-runtime.ts +4 -0
- package/src/registry/native.ts +17 -16
- package/src/registry/runtime.ts +1 -0
- package/src/registry/wasm-runtime.ts +6 -0
- package/src/test/mod.ts +1 -19
- package/src/test/ready.ts +22 -0
- package/src/unstable/migrations.test.ts +170 -0
- package/src/unstable/migrations.ts +141 -0
- package/dist/tsup/chunk-2GZPBFZV.cjs.map +0 -1
- package/dist/tsup/chunk-G3CCRCTK.cjs.map +0 -1
- package/dist/tsup/chunk-ID7DMKXR.cjs.map +0 -1
- package/dist/tsup/chunk-PMIEL4PM.js.map +0 -1
- package/dist/tsup/chunk-SHBE77IT.js.map +0 -1
- package/dist/tsup/chunk-YOP6FRYG.js.map +0 -1
- /package/dist/tsup/{chunk-FJQ36P7Q.js.map → chunk-6D2WRHJV.js.map} +0 -0
- /package/dist/tsup/{chunk-WGRSAJSX.js.map → chunk-7YQJXWBW.js.map} +0 -0
- /package/dist/tsup/{chunk-NYEGEML6.js.map → chunk-CH25U5NO.js.map} +0 -0
- /package/dist/tsup/{chunk-ENPXVDGZ.js.map → chunk-YHPFCYL3.js.map} +0 -0
package/dist/tsup/client/mod.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkDOPH7DT2cjs = require('../chunk-DOPH7DT2.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -8,11 +8,11 @@ var _chunk7IIAJQTFcjs = require('../chunk-7IIAJQTF.cjs');
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunk46AE7JOIcjs = require('../chunk-46AE7JOI.cjs');
|
|
12
12
|
require('../chunk-MYWZCDML.cjs');
|
|
13
|
+
require('../chunk-MNZFNIVI.cjs');
|
|
13
14
|
require('../chunk-UEULFXUI.cjs');
|
|
14
|
-
require('../chunk-
|
|
15
|
-
require('../chunk-ID7DMKXR.cjs');
|
|
15
|
+
require('../chunk-2SGPZEAJ.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
@@ -28,5 +28,5 @@ var _chunk4FC7TVS6cjs = require('../chunk-4FC7TVS6.cjs');
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
exports.ActorClientError =
|
|
31
|
+
exports.ActorClientError = _chunk46AE7JOIcjs.ActorClientError; exports.ActorConnDisposed = _chunk46AE7JOIcjs.ActorConnDisposed; exports.ActorConnRaw = _chunk46AE7JOIcjs.ActorConnRaw; exports.ActorError = _chunk4FC7TVS6cjs.RivetError; exports.ActorHandleRaw = _chunk46AE7JOIcjs.ActorHandleRaw; exports.MalformedResponseMessage = _chunk46AE7JOIcjs.MalformedResponseMessage; exports.ManagerError = _chunk46AE7JOIcjs.ManagerError; exports.RivetError = _chunk4FC7TVS6cjs.RivetError; exports.UserError = _chunk4FC7TVS6cjs.UserError; exports.createClient = _chunkDOPH7DT2cjs.createClient;
|
|
32
32
|
//# sourceMappingURL=mod.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { aC as Registry, a2 as Client } from '../config-BobvQpex.cjs';
|
|
2
|
+
export { bf as ActorAccessor, bg as ActorActionFunction, bh as ActorActionOptions, bi as ActorConn, bj as ActorConnRaw, bk as ActorConnStatus, bl as ActorConnectOptions, v as ActorDefinition, bm as ActorGatewayOptions, bn as ActorHandle, bo as ActorHandleRaw, A as AnyActorDefinition, bp as ClientRaw, bq as ConnectionStateCallback, br as CreateOptions, bs as CreateRequest, bt as EventUnsubscribe, bu as ExtractActorsFromRegistry, bv as ExtractRegistryFromClient, bw as GetOptions, bx as GetWithIdOptions, by as QueryOptions, bz as Region, bA as StatusChangeCallback } from '../config-BobvQpex.cjs';
|
|
3
3
|
import { G as GetUpgradeWebSocket } from '../utils-DQDCphrl.cjs';
|
|
4
4
|
export { E as Encoding } from '../utils-DQDCphrl.cjs';
|
|
5
5
|
import z from 'zod/v4';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { aC as Registry, a2 as Client } from '../config-BRpVbJCD.js';
|
|
2
|
+
export { bf as ActorAccessor, bg as ActorActionFunction, bh as ActorActionOptions, bi as ActorConn, bj as ActorConnRaw, bk as ActorConnStatus, bl as ActorConnectOptions, v as ActorDefinition, bm as ActorGatewayOptions, bn as ActorHandle, bo as ActorHandleRaw, A as AnyActorDefinition, bp as ClientRaw, bq as ConnectionStateCallback, br as CreateOptions, bs as CreateRequest, bt as EventUnsubscribe, bu as ExtractActorsFromRegistry, bv as ExtractRegistryFromClient, bw as GetOptions, bx as GetWithIdOptions, by as QueryOptions, bz as Region, bA as StatusChangeCallback } from '../config-BRpVbJCD.js';
|
|
3
3
|
import { G as GetUpgradeWebSocket } from '../utils-CV0akuDD.js';
|
|
4
4
|
export { E as Encoding } from '../utils-CV0akuDD.js';
|
|
5
5
|
import z from 'zod/v4';
|
package/dist/tsup/client/mod.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createClient
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-CH25U5NO.js";
|
|
4
4
|
import {
|
|
5
5
|
ActorClientError,
|
|
6
6
|
ActorConnDisposed,
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
ActorHandleRaw,
|
|
9
9
|
MalformedResponseMessage,
|
|
10
10
|
ManagerError
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-YU3C5OCU.js";
|
|
12
12
|
import "../chunk-JI6GZ2C2.js";
|
|
13
|
+
import "../chunk-YHPFCYL3.js";
|
|
13
14
|
import "../chunk-7AFZMFPQ.js";
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-YOP6FRYG.js";
|
|
15
|
+
import "../chunk-OG4OR2CM.js";
|
|
16
16
|
import {
|
|
17
17
|
RivetError,
|
|
18
18
|
UserError
|
package/dist/tsup/common/log.cjs
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk2SGPZEAJcjs = require('../chunk-2SGPZEAJ.cjs');
|
|
11
11
|
require('../chunk-4FC7TVS6.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
@@ -18,5 +18,5 @@ require('../chunk-4FC7TVS6.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
exports.LogLevelSchema =
|
|
21
|
+
exports.LogLevelSchema = _chunk2SGPZEAJcjs.LogLevelSchema; exports.configureBaseLogger = _chunk2SGPZEAJcjs.configureBaseLogger; exports.configureDefaultLogger = _chunk2SGPZEAJcjs.configureDefaultLogger; exports.getBaseLogger = _chunk2SGPZEAJcjs.getBaseLogger; exports.getIncludeTarget = _chunk2SGPZEAJcjs.getIncludeTarget; exports.getLogger = _chunk2SGPZEAJcjs.getLogger; exports.getPinoLevel = _chunk2SGPZEAJcjs.getPinoLevel; exports.makeDefaultLogger = _chunk2SGPZEAJcjs.makeDefaultLogger;
|
|
22
22
|
//# sourceMappingURL=log.cjs.map
|
package/dist/tsup/common/log.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkMNZFNIVIcjs = require('../chunk-MNZFNIVI.cjs');
|
|
4
|
+
require('../chunk-2SGPZEAJ.cjs');
|
|
5
5
|
require('../chunk-4FC7TVS6.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.importWebSocket =
|
|
8
|
+
exports.importWebSocket = _chunkMNZFNIVIcjs.importWebSocket;
|
|
9
9
|
//# sourceMappingURL=websocket.cjs.map
|
|
@@ -839,6 +839,7 @@ interface CoreRuntime {
|
|
|
839
839
|
createRegistry(): RegistryHandle;
|
|
840
840
|
registerActor(registry: RegistryHandle, name: string, factory: ActorFactoryHandle): void;
|
|
841
841
|
serveRegistry(registry: RegistryHandle, config: RuntimeServeConfig): Promise<void>;
|
|
842
|
+
waitRegistryReady(registry: RegistryHandle): Promise<void>;
|
|
842
843
|
shutdownRegistry(registry: RegistryHandle): Promise<void>;
|
|
843
844
|
registryActorStopThresholdMs?(registry: RegistryHandle): Promise<number | undefined>;
|
|
844
845
|
handleServerlessRequest(registry: RegistryHandle, req: RuntimeServerlessRequest, onStreamEvent: RuntimeServerlessStreamCallback, cancelToken: CancellationTokenHandle, config: RuntimeServeConfig): Promise<RuntimeServerlessResponseHead>;
|
|
@@ -1036,6 +1037,15 @@ declare class Registry<A extends RegistryActors> {
|
|
|
1036
1037
|
*/
|
|
1037
1038
|
shutdown(): Promise<void>;
|
|
1038
1039
|
startEnvoy(): void;
|
|
1040
|
+
/**
|
|
1041
|
+
* Starts the serverful registry if needed and waits until its envoy has
|
|
1042
|
+
* registered with the Engine. Repeated and concurrent calls share one
|
|
1043
|
+
* startup lifecycle and readiness promise.
|
|
1044
|
+
*
|
|
1045
|
+
* Unlike {@link start}, this reports startup failures and does not resolve
|
|
1046
|
+
* merely because an HTTP health endpoint is listening.
|
|
1047
|
+
*/
|
|
1048
|
+
startAndWait(): Promise<void>;
|
|
1039
1049
|
/**
|
|
1040
1050
|
* Starts the actor envoy for standalone server deployments.
|
|
1041
1051
|
*
|
|
@@ -1081,7 +1091,7 @@ type ActorActionFunction<Args extends Array<unknown> = unknown[], Response = unk
|
|
|
1081
1091
|
type IsAny<T> = 0 extends 1 & T ? true : false;
|
|
1082
1092
|
type LooseEventSubscribe = (eventName: string, callback: (...args: any[]) => void) => () => void;
|
|
1083
1093
|
type ActorActionMap<R> = {
|
|
1084
|
-
[K in keyof NonNullable<R>]: NonNullable<R>[K] extends (...args: infer Args) => infer Return ? ActorActionFunction<Args, Awaited<Return>> : never;
|
|
1094
|
+
[K in keyof NonNullable<R>]: NonNullable<R>[K] extends (...args: infer Args) => infer Return ? ActorActionFunction<Args, Awaited<Return>> : NonNullable<R>[K] extends Record<string, unknown> ? ActorActionMap<NonNullable<R>[K]> : never;
|
|
1085
1095
|
};
|
|
1086
1096
|
type ActionsOf<AD extends AnyActorDefinition> = AD extends BaseActorDefinition<any, any, any, any, any, any, any, any, infer R> ? R : never;
|
|
1087
1097
|
interface ActorGatewayOptions {
|
|
@@ -2058,7 +2068,7 @@ declare const ActorConfigSchema: z.ZodObject<{
|
|
|
2058
2068
|
onBeforeActionResponse: z.ZodOptional<z.ZodCustom<(...args: unknown[]) => unknown, (...args: unknown[]) => unknown>>;
|
|
2059
2069
|
onRequest: z.ZodOptional<z.ZodCustom<(...args: unknown[]) => unknown, (...args: unknown[]) => unknown>>;
|
|
2060
2070
|
onWebSocket: z.ZodOptional<z.ZodCustom<(...args: unknown[]) => unknown, (...args: unknown[]) => unknown>>;
|
|
2061
|
-
actions: z.ZodDefault<z.
|
|
2071
|
+
actions: z.ZodDefault<z.ZodCustom<Record<string, unknown>, Record<string, unknown>>>;
|
|
2062
2072
|
actionInputSchemas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2063
2073
|
connParamsSchema: z.ZodOptional<z.ZodAny>;
|
|
2064
2074
|
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -2141,7 +2151,10 @@ type CreateVars<TState, _TConnParams, _TConnState, TVars, TInput, TDatabase exte
|
|
|
2141
2151
|
createVars: (c: CreateVarsContext<TState, TInput, TDatabase, TEvents, TQueues>, driverCtx: any) => TVars | Promise<TVars>;
|
|
2142
2152
|
} | Record<never, never>;
|
|
2143
2153
|
interface Actions<TState, TConnParams, TConnState, TVars, TInput, TDatabase extends AnyDatabaseProvider, TEvents extends EventSchemaConfig = Record<never, never>, TQueues extends QueueSchemaConfig = Record<never, never>> {
|
|
2144
|
-
[Action: string]: (c: ActionContext<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues>, ...args: any[]) => any
|
|
2154
|
+
[Action: string]: ((c: ActionContext<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues>, ...args: any[]) => any) | Actions<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues>;
|
|
2155
|
+
}
|
|
2156
|
+
interface ActionInputSchemas {
|
|
2157
|
+
[Action: string]: PrimitiveSchema | ActionInputSchemas;
|
|
2145
2158
|
}
|
|
2146
2159
|
/**
|
|
2147
2160
|
* @experimental
|
|
@@ -2297,9 +2310,10 @@ interface BaseActorConfig<TState, TConnParams, TConnState, TVars, TInput, TDatab
|
|
|
2297
2310
|
onWebSocket?: (c: WebSocketContext<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues>, websocket: UniversalWebSocket) => void | Promise<void>;
|
|
2298
2311
|
actions?: TActions;
|
|
2299
2312
|
/**
|
|
2300
|
-
* Optional
|
|
2313
|
+
* Optional schemas for validating action argument tuples in native runtimes.
|
|
2314
|
+
* May mirror nested action groups or use dot-separated low-level action names.
|
|
2301
2315
|
*/
|
|
2302
|
-
actionInputSchemas?:
|
|
2316
|
+
actionInputSchemas?: ActionInputSchemas;
|
|
2303
2317
|
/**
|
|
2304
2318
|
* Optional schema for validating connection params in native runtimes.
|
|
2305
2319
|
*/
|
|
@@ -2398,4 +2412,4 @@ declare const DocActorConfigSchema: z.ZodObject<{
|
|
|
2398
2412
|
}, z.core.$strip>>;
|
|
2399
2413
|
}, z.core.$strip>;
|
|
2400
2414
|
|
|
2401
|
-
export {
|
|
2415
|
+
export { BuiltinInspectorTabIdSchema as $, type AnyActorDefinition as A, type BaseActorDefinition as B, type ConnectContext as C, type DestroyContext as D, type EventSchemaConfig as E, type ActorLogger as F, type ActorOptions as G, type ActorOptionsInput as H, ActorOptionsSchema as I, type ActorQuery as J, type ActorQueue as K, type ActorSchedule as L, type MigrateContext as M, type ActorTypes as N, ActorsSchema as O, type AnyActorInstance as P, type QueueSchemaConfig as Q, type RequestContext as R, type SleepContext as S, type AnyClient as T, type AnyConn as U, type AnyStaticActorDefinition as V, type WakeContext as W, type AnyStaticActorInstance as X, type AuthIntent as Y, BUILTIN_INSPECTOR_TAB_IDS as Z, type BaseActorInstance as _, type ActionContext as a, type WasmRuntimeInitInput as a$, CONN_DRIVER_SYMBOL as a0, CONN_STATE_MANAGER_SYMBOL as a1, type Client as a2, type Conn as a3, type CronFire as a4, type CronJobInfo as a5, CustomInspectorTabEntrySchema as a6, DEFAULT_SLEEP_GRACE_PERIOD as a7, DocActorConfigSchema as a8, DocActorOptionsSchema as a9, RAW_STATE_SYMBOL as aA, RUN_FUNCTION_CONFIG_SYMBOL as aB, Registry as aC, type RegistryActors as aD, type RegistryConfig as aE, type RegistryConfigInput as aF, RegistryConfigSchema as aG, type RegistryDeps as aH, type RegistryRoutes as aI, type RunConfig as aJ, RunConfigSchema as aK, type RunInspectorConfig as aL, type RuntimeKind as aM, RuntimeKindSchema as aN, type ScheduledEventInfo as aO, type ScheduledFireInfo as aP, type ServerlessHandler as aQ, type SqliteBackend as aR, SqliteBackendSchema as aS, type SqliteConfig as aT, SqliteConfigSchema as aU, type TestConfig as aV, TestConfigSchema as aW, type Type as aX, type WasmRuntimeBindings as aY, type WasmRuntimeConfig as aZ, WasmRuntimeConfigSchema as a_, DocConfigurePoolSchema as aa, DocEnvoyConfigSchema as ab, DocRegistryConfigSchema as ac, DocServerlessConfigSchema as ad, DocSqliteConfigSchema as ae, type FetchHandler as af, type GlobalActorOptions as ag, type GlobalActorOptionsInput as ah, GlobalActorOptionsSchema as ai, HideInspectorTabEntrySchema as aj, InspectorTabEntrySchema as ak, type InspectorUnsubscribe as al, type InstanceActorOptions as am, type InstanceActorOptionsInput as an, InstanceActorOptionsSchema as ao, type QueueEnqueueAndWaitOptions as ap, type QueueFilterName as aq, type QueueIterOptions as ar, type QueueMessageOf as as, type QueueName as at, type QueueNextBatchOptions as au, type QueueNextOptions as av, type QueueResultMessageForName as aw, type QueueTryNextBatchOptions as ax, type QueueTryNextOptions as ay, type QueueWaitOptions as az, type BeforeActionResponseContext as b, type WorkflowInspectorConfig as b0, actor as b1, buildActorNames as b2, createClientWithDriver as b3, disposeRunInspector as b4, event as b5, getRunFunction as b6, getRunInspectorConfig as b7, getRunMetadata as b8, isStaticActorDefinition as b9, type StatusChangeCallback as bA, type InferEventArgs as bB, type InferSchemaMap as bC, isStaticActorInstance as ba, lookupInRegistry as bb, queue as bc, setup as bd, test as be, type ActorAccessor as bf, type ActorActionFunction as bg, type ActorActionOptions as bh, type ActorConn as bi, ActorConnRaw as bj, type ActorConnStatus as bk, type ActorConnectOptions as bl, type ActorGatewayOptions as bm, type ActorHandle as bn, ActorHandleRaw as bo, ClientRaw as bp, type ConnectionStateCallback as bq, type CreateOptions as br, type CreateRequest as bs, type EventUnsubscribe as bt, type ExtractActorsFromRegistry as bu, type ExtractRegistryFromClient as bv, type GetOptions as bw, type GetWithIdOptions as bx, type QueryOptions as by, type Region as bz, type BeforeConnectContext as c, type CreateConnStateContext as d, type CreateContext as e, type CreateVarsContext as f, type DisconnectContext as g, type RunContext as h, type StateChangeContext as i, type WebSocketContext as j, ACTOR_CONTEXT_INTERNAL_SYMBOL as k, type ActionInputSchemas as l, type Actions as m, type ActorConfig as n, type ActorConfigInput as o, ActorConfigSchema as p, type ActorContext as q, type ActorContextOf as r, type ActorCron as s, type ActorCronEveryOptions as t, type ActorCronSetOptions as u, ActorDefinition as v, type ActorInspectorConfig as w, ActorInspectorConfigSchema as x, type ActorKey as y, type ActorKv as z };
|
|
@@ -839,6 +839,7 @@ interface CoreRuntime {
|
|
|
839
839
|
createRegistry(): RegistryHandle;
|
|
840
840
|
registerActor(registry: RegistryHandle, name: string, factory: ActorFactoryHandle): void;
|
|
841
841
|
serveRegistry(registry: RegistryHandle, config: RuntimeServeConfig): Promise<void>;
|
|
842
|
+
waitRegistryReady(registry: RegistryHandle): Promise<void>;
|
|
842
843
|
shutdownRegistry(registry: RegistryHandle): Promise<void>;
|
|
843
844
|
registryActorStopThresholdMs?(registry: RegistryHandle): Promise<number | undefined>;
|
|
844
845
|
handleServerlessRequest(registry: RegistryHandle, req: RuntimeServerlessRequest, onStreamEvent: RuntimeServerlessStreamCallback, cancelToken: CancellationTokenHandle, config: RuntimeServeConfig): Promise<RuntimeServerlessResponseHead>;
|
|
@@ -1036,6 +1037,15 @@ declare class Registry<A extends RegistryActors> {
|
|
|
1036
1037
|
*/
|
|
1037
1038
|
shutdown(): Promise<void>;
|
|
1038
1039
|
startEnvoy(): void;
|
|
1040
|
+
/**
|
|
1041
|
+
* Starts the serverful registry if needed and waits until its envoy has
|
|
1042
|
+
* registered with the Engine. Repeated and concurrent calls share one
|
|
1043
|
+
* startup lifecycle and readiness promise.
|
|
1044
|
+
*
|
|
1045
|
+
* Unlike {@link start}, this reports startup failures and does not resolve
|
|
1046
|
+
* merely because an HTTP health endpoint is listening.
|
|
1047
|
+
*/
|
|
1048
|
+
startAndWait(): Promise<void>;
|
|
1039
1049
|
/**
|
|
1040
1050
|
* Starts the actor envoy for standalone server deployments.
|
|
1041
1051
|
*
|
|
@@ -1081,7 +1091,7 @@ type ActorActionFunction<Args extends Array<unknown> = unknown[], Response = unk
|
|
|
1081
1091
|
type IsAny<T> = 0 extends 1 & T ? true : false;
|
|
1082
1092
|
type LooseEventSubscribe = (eventName: string, callback: (...args: any[]) => void) => () => void;
|
|
1083
1093
|
type ActorActionMap<R> = {
|
|
1084
|
-
[K in keyof NonNullable<R>]: NonNullable<R>[K] extends (...args: infer Args) => infer Return ? ActorActionFunction<Args, Awaited<Return>> : never;
|
|
1094
|
+
[K in keyof NonNullable<R>]: NonNullable<R>[K] extends (...args: infer Args) => infer Return ? ActorActionFunction<Args, Awaited<Return>> : NonNullable<R>[K] extends Record<string, unknown> ? ActorActionMap<NonNullable<R>[K]> : never;
|
|
1085
1095
|
};
|
|
1086
1096
|
type ActionsOf<AD extends AnyActorDefinition> = AD extends BaseActorDefinition<any, any, any, any, any, any, any, any, infer R> ? R : never;
|
|
1087
1097
|
interface ActorGatewayOptions {
|
|
@@ -2058,7 +2068,7 @@ declare const ActorConfigSchema: z.ZodObject<{
|
|
|
2058
2068
|
onBeforeActionResponse: z.ZodOptional<z.ZodCustom<(...args: unknown[]) => unknown, (...args: unknown[]) => unknown>>;
|
|
2059
2069
|
onRequest: z.ZodOptional<z.ZodCustom<(...args: unknown[]) => unknown, (...args: unknown[]) => unknown>>;
|
|
2060
2070
|
onWebSocket: z.ZodOptional<z.ZodCustom<(...args: unknown[]) => unknown, (...args: unknown[]) => unknown>>;
|
|
2061
|
-
actions: z.ZodDefault<z.
|
|
2071
|
+
actions: z.ZodDefault<z.ZodCustom<Record<string, unknown>, Record<string, unknown>>>;
|
|
2062
2072
|
actionInputSchemas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2063
2073
|
connParamsSchema: z.ZodOptional<z.ZodAny>;
|
|
2064
2074
|
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -2141,7 +2151,10 @@ type CreateVars<TState, _TConnParams, _TConnState, TVars, TInput, TDatabase exte
|
|
|
2141
2151
|
createVars: (c: CreateVarsContext<TState, TInput, TDatabase, TEvents, TQueues>, driverCtx: any) => TVars | Promise<TVars>;
|
|
2142
2152
|
} | Record<never, never>;
|
|
2143
2153
|
interface Actions<TState, TConnParams, TConnState, TVars, TInput, TDatabase extends AnyDatabaseProvider, TEvents extends EventSchemaConfig = Record<never, never>, TQueues extends QueueSchemaConfig = Record<never, never>> {
|
|
2144
|
-
[Action: string]: (c: ActionContext<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues>, ...args: any[]) => any
|
|
2154
|
+
[Action: string]: ((c: ActionContext<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues>, ...args: any[]) => any) | Actions<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues>;
|
|
2155
|
+
}
|
|
2156
|
+
interface ActionInputSchemas {
|
|
2157
|
+
[Action: string]: PrimitiveSchema | ActionInputSchemas;
|
|
2145
2158
|
}
|
|
2146
2159
|
/**
|
|
2147
2160
|
* @experimental
|
|
@@ -2297,9 +2310,10 @@ interface BaseActorConfig<TState, TConnParams, TConnState, TVars, TInput, TDatab
|
|
|
2297
2310
|
onWebSocket?: (c: WebSocketContext<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues>, websocket: UniversalWebSocket) => void | Promise<void>;
|
|
2298
2311
|
actions?: TActions;
|
|
2299
2312
|
/**
|
|
2300
|
-
* Optional
|
|
2313
|
+
* Optional schemas for validating action argument tuples in native runtimes.
|
|
2314
|
+
* May mirror nested action groups or use dot-separated low-level action names.
|
|
2301
2315
|
*/
|
|
2302
|
-
actionInputSchemas?:
|
|
2316
|
+
actionInputSchemas?: ActionInputSchemas;
|
|
2303
2317
|
/**
|
|
2304
2318
|
* Optional schema for validating connection params in native runtimes.
|
|
2305
2319
|
*/
|
|
@@ -2398,4 +2412,4 @@ declare const DocActorConfigSchema: z.ZodObject<{
|
|
|
2398
2412
|
}, z.core.$strip>>;
|
|
2399
2413
|
}, z.core.$strip>;
|
|
2400
2414
|
|
|
2401
|
-
export {
|
|
2415
|
+
export { BuiltinInspectorTabIdSchema as $, type AnyActorDefinition as A, type BaseActorDefinition as B, type ConnectContext as C, type DestroyContext as D, type EventSchemaConfig as E, type ActorLogger as F, type ActorOptions as G, type ActorOptionsInput as H, ActorOptionsSchema as I, type ActorQuery as J, type ActorQueue as K, type ActorSchedule as L, type MigrateContext as M, type ActorTypes as N, ActorsSchema as O, type AnyActorInstance as P, type QueueSchemaConfig as Q, type RequestContext as R, type SleepContext as S, type AnyClient as T, type AnyConn as U, type AnyStaticActorDefinition as V, type WakeContext as W, type AnyStaticActorInstance as X, type AuthIntent as Y, BUILTIN_INSPECTOR_TAB_IDS as Z, type BaseActorInstance as _, type ActionContext as a, type WasmRuntimeInitInput as a$, CONN_DRIVER_SYMBOL as a0, CONN_STATE_MANAGER_SYMBOL as a1, type Client as a2, type Conn as a3, type CronFire as a4, type CronJobInfo as a5, CustomInspectorTabEntrySchema as a6, DEFAULT_SLEEP_GRACE_PERIOD as a7, DocActorConfigSchema as a8, DocActorOptionsSchema as a9, RAW_STATE_SYMBOL as aA, RUN_FUNCTION_CONFIG_SYMBOL as aB, Registry as aC, type RegistryActors as aD, type RegistryConfig as aE, type RegistryConfigInput as aF, RegistryConfigSchema as aG, type RegistryDeps as aH, type RegistryRoutes as aI, type RunConfig as aJ, RunConfigSchema as aK, type RunInspectorConfig as aL, type RuntimeKind as aM, RuntimeKindSchema as aN, type ScheduledEventInfo as aO, type ScheduledFireInfo as aP, type ServerlessHandler as aQ, type SqliteBackend as aR, SqliteBackendSchema as aS, type SqliteConfig as aT, SqliteConfigSchema as aU, type TestConfig as aV, TestConfigSchema as aW, type Type as aX, type WasmRuntimeBindings as aY, type WasmRuntimeConfig as aZ, WasmRuntimeConfigSchema as a_, DocConfigurePoolSchema as aa, DocEnvoyConfigSchema as ab, DocRegistryConfigSchema as ac, DocServerlessConfigSchema as ad, DocSqliteConfigSchema as ae, type FetchHandler as af, type GlobalActorOptions as ag, type GlobalActorOptionsInput as ah, GlobalActorOptionsSchema as ai, HideInspectorTabEntrySchema as aj, InspectorTabEntrySchema as ak, type InspectorUnsubscribe as al, type InstanceActorOptions as am, type InstanceActorOptionsInput as an, InstanceActorOptionsSchema as ao, type QueueEnqueueAndWaitOptions as ap, type QueueFilterName as aq, type QueueIterOptions as ar, type QueueMessageOf as as, type QueueName as at, type QueueNextBatchOptions as au, type QueueNextOptions as av, type QueueResultMessageForName as aw, type QueueTryNextBatchOptions as ax, type QueueTryNextOptions as ay, type QueueWaitOptions as az, type BeforeActionResponseContext as b, type WorkflowInspectorConfig as b0, actor as b1, buildActorNames as b2, createClientWithDriver as b3, disposeRunInspector as b4, event as b5, getRunFunction as b6, getRunInspectorConfig as b7, getRunMetadata as b8, isStaticActorDefinition as b9, type StatusChangeCallback as bA, type InferEventArgs as bB, type InferSchemaMap as bC, isStaticActorInstance as ba, lookupInRegistry as bb, queue as bc, setup as bd, test as be, type ActorAccessor as bf, type ActorActionFunction as bg, type ActorActionOptions as bh, type ActorConn as bi, ActorConnRaw as bj, type ActorConnStatus as bk, type ActorConnectOptions as bl, type ActorGatewayOptions as bm, type ActorHandle as bn, ActorHandleRaw as bo, ClientRaw as bp, type ConnectionStateCallback as bq, type CreateOptions as br, type CreateRequest as bs, type EventUnsubscribe as bt, type ExtractActorsFromRegistry as bu, type ExtractRegistryFromClient as bv, type GetOptions as bw, type GetWithIdOptions as bx, type QueryOptions as by, type Region as bz, type BeforeConnectContext as c, type CreateConnStateContext as d, type CreateContext as e, type CreateVarsContext as f, type DisconnectContext as g, type RunContext as h, type StateChangeContext as i, type WebSocketContext as j, ACTOR_CONTEXT_INTERNAL_SYMBOL as k, type ActionInputSchemas as l, type Actions as m, type ActorConfig as n, type ActorConfigInput as o, ActorConfigSchema as p, type ActorContext as q, type ActorContextOf as r, type ActorCron as s, type ActorCronEveryOptions as t, type ActorCronSetOptions as u, ActorDefinition as v, type ActorInspectorConfig as w, ActorInspectorConfigSchema as x, type ActorKey as y, type ActorKv as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AnyActorDefinition, B as BaseActorDefinition, E as EventSchemaConfig, Q as QueueSchemaConfig, h as RunContext,
|
|
1
|
+
import { A as AnyActorDefinition, B as BaseActorDefinition, E as EventSchemaConfig, Q as QueueSchemaConfig, h as RunContext, F as ActorLogger, aq as QueueFilterName, av as QueueNextOptions, aw as QueueResultMessageForName, au as QueueNextBatchOptions, aC as Registry, a2 as Client, bB as InferEventArgs, bC as InferSchemaMap } from './config-BRpVbJCD.js';
|
|
2
2
|
import { WorkflowContextInterface, StepConfig, TryStepResult, TryStepConfig, TryBlockResult, TryBlockConfig, LoopResult, LoopConfig, BranchConfig, BranchOutput, EntryKindType } from '@rivetkit/workflow-engine';
|
|
3
3
|
import { A as AnyDatabaseProvider, I as InferDatabaseClient } from './config-BxOimoGX.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AnyActorDefinition, B as BaseActorDefinition, E as EventSchemaConfig, Q as QueueSchemaConfig, h as RunContext,
|
|
1
|
+
import { A as AnyActorDefinition, B as BaseActorDefinition, E as EventSchemaConfig, Q as QueueSchemaConfig, h as RunContext, F as ActorLogger, aq as QueueFilterName, av as QueueNextOptions, aw as QueueResultMessageForName, au as QueueNextBatchOptions, aC as Registry, a2 as Client, bB as InferEventArgs, bC as InferSchemaMap } from './config-BobvQpex.cjs';
|
|
2
2
|
import { WorkflowContextInterface, StepConfig, TryStepResult, TryStepConfig, TryBlockResult, TryBlockConfig, LoopResult, LoopConfig, BranchConfig, BranchOutput, EntryKindType } from '@rivetkit/workflow-engine';
|
|
3
3
|
import { A as AnyDatabaseProvider, I as InferDatabaseClient } from './config-BxOimoGX.cjs';
|
|
4
4
|
|
package/dist/tsup/db/drizzle.cjs
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
var _chunkUEULFXUIcjs = require('../chunk-UEULFXUI.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk2SGPZEAJcjs = require('../chunk-2SGPZEAJ.cjs');
|
|
10
10
|
require('../chunk-4FC7TVS6.cjs');
|
|
11
11
|
|
|
12
12
|
// src/db/drizzle.ts
|
|
@@ -159,7 +159,7 @@ function db({
|
|
|
159
159
|
return;
|
|
160
160
|
}
|
|
161
161
|
manualTransactionWarned = true;
|
|
162
|
-
|
|
162
|
+
_chunk2SGPZEAJcjs.getLogger.call(void 0, "database").warn(
|
|
163
163
|
{ actorId: ctx.actorId },
|
|
164
164
|
"Manual cross-call SQLite transactions can interleave with other actor work. Use db.transaction() for coordinated transactions. Set warnOnManualTransactions: false in your db(...) configuration to disable this warning."
|
|
165
165
|
);
|
package/dist/tsup/db/drizzle.js
CHANGED
package/dist/tsup/db/mod.cjs
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
var _chunkUEULFXUIcjs = require('../chunk-UEULFXUI.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk2SGPZEAJcjs = require('../chunk-2SGPZEAJ.cjs');
|
|
11
11
|
require('../chunk-4FC7TVS6.cjs');
|
|
12
12
|
|
|
13
13
|
// src/common/database/mod.ts
|
|
@@ -43,7 +43,7 @@ function db({
|
|
|
43
43
|
ensureOpen();
|
|
44
44
|
if (!transactionScoped && warnOnManualTransactions && !manualTransactionWarned && !hasMultipleStatements(query) && _chunkUEULFXUIcjs.isManualTransactionControl.call(void 0, query)) {
|
|
45
45
|
manualTransactionWarned = true;
|
|
46
|
-
|
|
46
|
+
_chunk2SGPZEAJcjs.getLogger.call(void 0, "database").warn(
|
|
47
47
|
{ actorId: ctx.actorId },
|
|
48
48
|
"Manual cross-call SQLite transactions can interleave with other actor work. Use db.transaction() for coordinated transactions. Set warnOnManualTransactions: false in your db(...) configuration to disable this warning."
|
|
49
49
|
);
|
package/dist/tsup/db/mod.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkHNHLBM3Ycjs = require('../chunk-HNHLBM3Y.cjs');
|
|
4
4
|
|
|
5
5
|
// src/dynamic/internal.ts
|
|
6
6
|
var DYNAMIC_ACTOR_DEFINITION_SYMBOL = /* @__PURE__ */ Symbol.for(
|
|
@@ -9,7 +9,7 @@ var DYNAMIC_ACTOR_DEFINITION_SYMBOL = /* @__PURE__ */ Symbol.for(
|
|
|
9
9
|
|
|
10
10
|
// src/dynamic/mod.ts
|
|
11
11
|
function dynamicActor(input) {
|
|
12
|
-
const config =
|
|
12
|
+
const config = _chunkHNHLBM3Ycjs.ActorConfigSchema.parse({
|
|
13
13
|
actions: {}
|
|
14
14
|
});
|
|
15
15
|
return {
|
package/dist/tsup/dynamic/mod.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkTQHMPWL6cjs = require('../chunk-TQHMPWL6.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('../chunk-
|
|
7
|
+
var _chunkUIZZCJ5Wcjs = require('../chunk-UIZZCJ5W.cjs');
|
|
8
|
+
require('../chunk-2SGPZEAJ.cjs');
|
|
9
9
|
require('../chunk-4FC7TVS6.cjs');
|
|
10
10
|
|
|
11
11
|
// src/common/bare/generated/inspector/v5.ts
|
|
@@ -795,5 +795,5 @@ function decodeToClient(bytes) {
|
|
|
795
795
|
|
|
796
796
|
|
|
797
797
|
|
|
798
|
-
exports.createWorkflowInspectorAdapter =
|
|
798
|
+
exports.createWorkflowInspectorAdapter = _chunkTQHMPWL6cjs.createWorkflowInspectorAdapter; exports.decodeToClient = decodeToClient; exports.decodeToServer = decodeToServer; exports.decodeWorkflowHistoryTransport = _chunkUIZZCJ5Wcjs.decodeWorkflowHistoryTransport; exports.encodeToClient = encodeToClient; exports.encodeToServer = encodeToServer; exports.encodeWorkflowHistoryTransport = _chunkUIZZCJ5Wcjs.encodeWorkflowHistoryTransport; exports.readActionRequest = readActionRequest; exports.readActionResponse = readActionResponse; exports.readConnection = readConnection; exports.readConnectionsRequest = readConnectionsRequest; exports.readConnectionsResponse = readConnectionsResponse; exports.readConnectionsUpdated = readConnectionsUpdated; exports.readDatabaseSchemaRequest = readDatabaseSchemaRequest; exports.readDatabaseSchemaResponse = readDatabaseSchemaResponse; exports.readDatabaseTableRowsRequest = readDatabaseTableRowsRequest; exports.readDatabaseTableRowsResponse = readDatabaseTableRowsResponse; exports.readError = readError; exports.readInit = readInit; exports.readPatchStateRequest = readPatchStateRequest; exports.readQueueMessageSummary = readQueueMessageSummary; exports.readQueueRequest = readQueueRequest; exports.readQueueResponse = readQueueResponse; exports.readQueueStatus = readQueueStatus; exports.readQueueUpdated = readQueueUpdated; exports.readRpcsListRequest = readRpcsListRequest; exports.readRpcsListResponse = readRpcsListResponse; exports.readState = readState; exports.readStateRequest = readStateRequest; exports.readStateResponse = readStateResponse; exports.readStateUpdated = readStateUpdated; exports.readTabConfigEntry = readTabConfigEntry; exports.readToClient = readToClient; exports.readToClientBody = readToClientBody; exports.readToServer = readToServer; exports.readToServerBody = readToServerBody; exports.readTraceQueryRequest = readTraceQueryRequest; exports.readTraceQueryResponse = readTraceQueryResponse; exports.readWorkflowHistory = readWorkflowHistory; exports.readWorkflowHistoryRequest = readWorkflowHistoryRequest; exports.readWorkflowHistoryResponse = readWorkflowHistoryResponse; exports.readWorkflowHistoryUpdated = readWorkflowHistoryUpdated; exports.readWorkflowReplayRequest = readWorkflowReplayRequest; exports.readWorkflowReplayResponse = readWorkflowReplayResponse; exports.writeActionRequest = writeActionRequest; exports.writeActionResponse = writeActionResponse; exports.writeConnection = writeConnection; exports.writeConnectionsRequest = writeConnectionsRequest; exports.writeConnectionsResponse = writeConnectionsResponse; exports.writeConnectionsUpdated = writeConnectionsUpdated; exports.writeDatabaseSchemaRequest = writeDatabaseSchemaRequest; exports.writeDatabaseSchemaResponse = writeDatabaseSchemaResponse; exports.writeDatabaseTableRowsRequest = writeDatabaseTableRowsRequest; exports.writeDatabaseTableRowsResponse = writeDatabaseTableRowsResponse; exports.writeError = writeError; exports.writeInit = writeInit; exports.writePatchStateRequest = writePatchStateRequest; exports.writeQueueMessageSummary = writeQueueMessageSummary; exports.writeQueueRequest = writeQueueRequest; exports.writeQueueResponse = writeQueueResponse; exports.writeQueueStatus = writeQueueStatus; exports.writeQueueUpdated = writeQueueUpdated; exports.writeRpcsListRequest = writeRpcsListRequest; exports.writeRpcsListResponse = writeRpcsListResponse; exports.writeState = writeState; exports.writeStateRequest = writeStateRequest; exports.writeStateResponse = writeStateResponse; exports.writeStateUpdated = writeStateUpdated; exports.writeTabConfigEntry = writeTabConfigEntry; exports.writeToClient = writeToClient; exports.writeToClientBody = writeToClientBody; exports.writeToServer = writeToServer; exports.writeToServerBody = writeToServerBody; exports.writeTraceQueryRequest = writeTraceQueryRequest; exports.writeTraceQueryResponse = writeTraceQueryResponse; exports.writeWorkflowHistory = writeWorkflowHistory; exports.writeWorkflowHistoryRequest = writeWorkflowHistoryRequest; exports.writeWorkflowHistoryResponse = writeWorkflowHistoryResponse; exports.writeWorkflowHistoryUpdated = writeWorkflowHistoryUpdated; exports.writeWorkflowReplayRequest = writeWorkflowReplayRequest; exports.writeWorkflowReplayResponse = writeWorkflowReplayResponse;
|
|
799
799
|
//# sourceMappingURL=mod.cjs.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createWorkflowInspectorAdapter
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-7YQJXWBW.js";
|
|
4
4
|
import {
|
|
5
5
|
decodeWorkflowHistoryTransport,
|
|
6
6
|
encodeWorkflowHistoryTransport
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-6D2WRHJV.js";
|
|
8
|
+
import "../chunk-OG4OR2CM.js";
|
|
9
9
|
import "../chunk-ZZ3WBRPD.js";
|
|
10
10
|
|
|
11
11
|
// src/common/bare/generated/inspector/v5.ts
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkHNHLBM3Ycjs = require('../chunk-HNHLBM3Y.cjs');
|
|
9
9
|
|
|
10
10
|
// src/inspector-tab/mod.ts
|
|
11
11
|
var _zod = require('zod');
|
|
@@ -158,5 +158,5 @@ var InspectorQueueResponseSchema = _zod.z.object({
|
|
|
158
158
|
|
|
159
159
|
|
|
160
160
|
|
|
161
|
-
exports.ACTOR_ID_PARAM = ACTOR_ID_PARAM; exports.ActorInspectorConfigSchema =
|
|
161
|
+
exports.ACTOR_ID_PARAM = ACTOR_ID_PARAM; exports.ActorInspectorConfigSchema = _chunkHNHLBM3Ycjs.ActorInspectorConfigSchema; exports.BUILTIN_INSPECTOR_TAB_IDS = _chunkHNHLBM3Ycjs.BUILTIN_INSPECTOR_TAB_IDS; exports.BuiltinInspectorTabIdSchema = _chunkHNHLBM3Ycjs.BuiltinInspectorTabIdSchema; exports.CustomInspectorTabEntrySchema = _chunkHNHLBM3Ycjs.CustomInspectorTabEntrySchema; exports.HideInspectorTabEntrySchema = _chunkHNHLBM3Ycjs.HideInspectorTabEntrySchema; exports.InspectorActionRequestSchema = InspectorActionRequestSchema; exports.InspectorActionResponseSchema = InspectorActionResponseSchema; exports.InspectorConnectionSchema = InspectorConnectionSchema; exports.InspectorConnectionsResponseSchema = InspectorConnectionsResponseSchema; exports.InspectorQueueMessageSchema = InspectorQueueMessageSchema; exports.InspectorQueueResponseSchema = InspectorQueueResponseSchema; exports.InspectorRpcsResponseSchema = InspectorRpcsResponseSchema; exports.InspectorStateResponseSchema = InspectorStateResponseSchema; exports.InspectorTabDescriptorSchema = InspectorTabDescriptorSchema; exports.InspectorTabEntrySchema = _chunkHNHLBM3Ycjs.InspectorTabEntrySchema; exports.POSTMESSAGE_PROTOCOL_VERSION = POSTMESSAGE_PROTOCOL_VERSION; exports.SHELL_ORIGIN_PARAM = SHELL_ORIGIN_PARAM; exports.ShellToTabMessageSchema = ShellToTabMessageSchema; exports.TabToShellMessageSchema = TabToShellMessageSchema; exports.V1InitSchema = V1InitSchema; exports.V1ReadySchema = V1ReadySchema; exports.V1SetActiveTabSchema = V1SetActiveTabSchema; exports.V1TabsAvailableSchema = V1TabsAvailableSchema; exports.V1TokenRefreshNeededSchema = V1TokenRefreshNeededSchema;
|
|
162
162
|
//# sourceMappingURL=mod.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
2
|
+
import { a6 as CustomInspectorTabEntrySchema, aj as HideInspectorTabEntrySchema, ak as InspectorTabEntrySchema } from '../config-BobvQpex.cjs';
|
|
3
|
+
export { w as ActorInspectorConfig, x as ActorInspectorConfigSchema, Z as BUILTIN_INSPECTOR_TAB_IDS, $ as BuiltinInspectorTabIdSchema } from '../config-BobvQpex.cjs';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../config-BxOimoGX.cjs';
|
|
6
6
|
import '@rivetkit/rivetkit-wasm';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
2
|
+
import { a6 as CustomInspectorTabEntrySchema, aj as HideInspectorTabEntrySchema, ak as InspectorTabEntrySchema } from '../config-BRpVbJCD.js';
|
|
3
|
+
export { w as ActorInspectorConfig, x as ActorInspectorConfigSchema, Z as BUILTIN_INSPECTOR_TAB_IDS, $ as BuiltinInspectorTabIdSchema } from '../config-BRpVbJCD.js';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../config-BxOimoGX.js';
|
|
6
6
|
import '@rivetkit/rivetkit-wasm';
|