rivetkit 2.3.12-rc.4 → 2.3.12
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 +17 -4
- package/dist/browser/client.js +32 -24
- package/dist/browser/client.js.map +1 -1
- package/dist/browser/inspector/client.js +2 -1
- package/dist/browser/inspector/client.js.map +1 -1
- package/dist/tsup/actor/errors.cjs +2 -2
- package/dist/tsup/actor/errors.js +1 -1
- package/dist/tsup/agent-os/index.cjs +3 -19
- package/dist/tsup/agent-os/index.cjs.map +1 -1
- package/dist/tsup/agent-os/index.d.cts +17 -4
- package/dist/tsup/agent-os/index.d.ts +17 -4
- package/dist/tsup/agent-os/index.js +3 -19
- package/dist/tsup/agent-os/index.js.map +1 -1
- package/dist/tsup/{chunk-SPJORZMM.cjs → chunk-2JSYYH6P.cjs} +1 -1
- package/dist/tsup/chunk-2JSYYH6P.cjs.map +1 -0
- package/dist/tsup/{chunk-IAH47VDZ.cjs → chunk-4KGXFC6M.cjs} +2 -19
- package/dist/tsup/chunk-4KGXFC6M.cjs.map +1 -0
- package/dist/tsup/{chunk-DLQSZ6Q7.js → chunk-6W5VGLFT.js} +2 -19
- package/dist/tsup/chunk-6W5VGLFT.js.map +1 -0
- package/dist/tsup/{chunk-JIOLC5I2.cjs → chunk-AN7WO7BM.cjs} +3 -3
- package/dist/tsup/{chunk-JIOLC5I2.cjs.map → chunk-AN7WO7BM.cjs.map} +1 -1
- package/dist/tsup/{chunk-AF2VKCFA.js → chunk-EBXARMGI.js} +2 -2
- package/dist/tsup/{chunk-4LRWLBTR.cjs → chunk-FGQABMXZ.cjs} +3 -3
- package/dist/tsup/{chunk-4LRWLBTR.cjs.map → chunk-FGQABMXZ.cjs.map} +1 -1
- package/dist/tsup/{chunk-BQ7YJ3PG.js → chunk-GEN4NHXM.js} +2 -2
- package/dist/tsup/{chunk-NVMHEG5J.js → chunk-JYTXOMM7.js} +2 -2
- package/dist/tsup/{chunk-NKLM6C5A.cjs → chunk-MEF7RVQ7.cjs} +10 -10
- package/dist/tsup/{chunk-NKLM6C5A.cjs.map → chunk-MEF7RVQ7.cjs.map} +1 -1
- package/dist/tsup/{chunk-64DT44V2.js → chunk-MF42PRF2.js} +9 -3
- package/dist/tsup/chunk-MF42PRF2.js.map +1 -0
- package/dist/tsup/{chunk-IXBD7BXC.js → chunk-OUQUIBVW.js} +1 -1
- package/dist/tsup/chunk-OUQUIBVW.js.map +1 -0
- package/dist/tsup/{chunk-S3GXVCIM.cjs → chunk-PW2VSGUR.cjs} +4 -4
- package/dist/tsup/{chunk-S3GXVCIM.cjs.map → chunk-PW2VSGUR.cjs.map} +1 -1
- package/dist/tsup/{chunk-GMBCKV6C.js → chunk-RBXJWAJB.js} +3 -3
- package/dist/tsup/{chunk-XDYECGCT.cjs → chunk-SSPTEGTX.cjs} +7 -7
- package/dist/tsup/{chunk-XDYECGCT.cjs.map → chunk-SSPTEGTX.cjs.map} +1 -1
- package/dist/tsup/{chunk-ARFTQ5HY.cjs → chunk-TAG6UEL5.cjs} +17 -11
- package/dist/tsup/chunk-TAG6UEL5.cjs.map +1 -0
- package/dist/tsup/{chunk-OCXHNHGQ.cjs → chunk-TXUHVBKH.cjs} +3 -3
- package/dist/tsup/{chunk-OCXHNHGQ.cjs.map → chunk-TXUHVBKH.cjs.map} +1 -1
- package/dist/tsup/{chunk-F7G5WHOD.cjs → chunk-TZPNSOG2.cjs} +203 -195
- package/dist/tsup/chunk-TZPNSOG2.cjs.map +1 -0
- package/dist/tsup/{chunk-O74736N5.js → chunk-VOYNLY57.js} +41 -33
- package/dist/tsup/chunk-VOYNLY57.js.map +1 -0
- package/dist/tsup/{chunk-3CBQIP37.js → chunk-XUODFCRJ.js} +4 -4
- package/dist/tsup/{chunk-P5JJG4KY.js → chunk-ZIPXAVKR.js} +2 -2
- package/dist/tsup/client/mod.cjs +6 -6
- package/dist/tsup/client/mod.d.cts +2 -2
- package/dist/tsup/client/mod.d.ts +2 -2
- package/dist/tsup/client/mod.js +5 -5
- package/dist/tsup/common/log.cjs +3 -3
- package/dist/tsup/common/log.js +2 -2
- package/dist/tsup/common/websocket.cjs +4 -4
- package/dist/tsup/common/websocket.js +3 -3
- package/dist/tsup/{config-DzaddF-j.d.ts → config-BGTanB_3.d.ts} +19 -10
- package/dist/tsup/{config-VxDc6yMu.d.cts → config-NHz6oMb9.d.cts} +19 -10
- package/dist/tsup/{context-Cn8CIrOR.d.cts → context-DB8zG_Ib.d.cts} +1 -1
- package/dist/tsup/{context-B6HYokje.d.ts → context-SHomdVV8.d.ts} +1 -1
- package/dist/tsup/db/drizzle.cjs +3 -3
- package/dist/tsup/db/drizzle.js +2 -2
- package/dist/tsup/db/mod.cjs +4 -4
- package/dist/tsup/db/mod.js +3 -3
- 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 +6 -6
- package/dist/tsup/inspector/mod.js +5 -5
- package/dist/tsup/inspector/workflow.cjs +5 -5
- package/dist/tsup/inspector/workflow.js +4 -4
- 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 +444 -199
- 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 +323 -78
- package/dist/tsup/mod.js.map +1 -1
- package/dist/tsup/test/mod.cjs +7 -7
- package/dist/tsup/test/mod.d.cts +1 -1
- package/dist/tsup/test/mod.d.ts +1 -1
- package/dist/tsup/test/mod.js +5 -5
- package/dist/tsup/utils.cjs +3 -3
- package/dist/tsup/utils.js +2 -2
- package/dist/tsup/workflow/mod.cjs +14 -14
- package/dist/tsup/workflow/mod.d.cts +3 -3
- package/dist/tsup/workflow/mod.d.ts +3 -3
- package/dist/tsup/workflow/mod.js +6 -6
- package/package.json +9 -8
- package/src/actor/config.test.ts +0 -8
- package/src/actor/config.ts +1 -24
- package/src/actor/errors.ts +2 -1
- package/src/client/actor-handle.ts +10 -3
- package/src/client/raw-utils.ts +8 -0
- package/src/common/actor-router-consts.ts +2 -0
- package/src/engine-client/actor-http-client.ts +6 -22
- package/src/engine-client/mod.ts +1 -1
- package/src/registry/config/index.ts +27 -1
- package/src/registry/index.ts +48 -14
- package/src/registry/napi-runtime.ts +32 -5
- package/src/registry/native-http.ts +225 -0
- package/src/registry/native.ts +130 -65
- package/src/registry/runtime.ts +30 -3
- package/src/utils/env-vars.ts +4 -0
- package/dist/tsup/chunk-64DT44V2.js.map +0 -1
- package/dist/tsup/chunk-ARFTQ5HY.cjs.map +0 -1
- package/dist/tsup/chunk-DLQSZ6Q7.js.map +0 -1
- package/dist/tsup/chunk-F7G5WHOD.cjs.map +0 -1
- package/dist/tsup/chunk-IAH47VDZ.cjs.map +0 -1
- package/dist/tsup/chunk-IXBD7BXC.js.map +0 -1
- package/dist/tsup/chunk-O74736N5.js.map +0 -1
- package/dist/tsup/chunk-SPJORZMM.cjs.map +0 -1
- /package/dist/tsup/{chunk-AF2VKCFA.js.map → chunk-EBXARMGI.js.map} +0 -0
- /package/dist/tsup/{chunk-BQ7YJ3PG.js.map → chunk-GEN4NHXM.js.map} +0 -0
- /package/dist/tsup/{chunk-NVMHEG5J.js.map → chunk-JYTXOMM7.js.map} +0 -0
- /package/dist/tsup/{chunk-GMBCKV6C.js.map → chunk-RBXJWAJB.js.map} +0 -0
- /package/dist/tsup/{chunk-3CBQIP37.js.map → chunk-XUODFCRJ.js.map} +0 -0
- /package/dist/tsup/{chunk-P5JJG4KY.js.map → chunk-ZIPXAVKR.js.map} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
encodeWorkflowInspectorValue
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZIPXAVKR.js";
|
|
4
4
|
import {
|
|
5
5
|
encodeWorkflowHistoryTransport
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GEN4NHXM.js";
|
|
7
7
|
import {
|
|
8
8
|
assertUnreachable
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MF42PRF2.js";
|
|
10
10
|
|
|
11
11
|
// src/workflow/inspector.ts
|
|
12
12
|
function createHistoryEmitter() {
|
|
@@ -249,4 +249,4 @@ function toWorkflowHistory(snapshot) {
|
|
|
249
249
|
export {
|
|
250
250
|
createWorkflowInspectorAdapter
|
|
251
251
|
};
|
|
252
|
-
//# sourceMappingURL=chunk-
|
|
252
|
+
//# sourceMappingURL=chunk-XUODFCRJ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
bufferToArrayBuffer,
|
|
3
3
|
encodeCborCompat
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MF42PRF2.js";
|
|
5
5
|
|
|
6
6
|
// src/inspector/workflow.ts
|
|
7
7
|
function encodeWorkflowInspectorValue(value) {
|
|
@@ -11,4 +11,4 @@ function encodeWorkflowInspectorValue(value) {
|
|
|
11
11
|
export {
|
|
12
12
|
encodeWorkflowInspectorValue
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=chunk-
|
|
14
|
+
//# sourceMappingURL=chunk-ZIPXAVKR.js.map
|
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 _chunkSSPTEGTXcjs = require('../chunk-SSPTEGTX.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -8,15 +8,15 @@ var _chunkXDYECGCTcjs = require('../chunk-XDYECGCT.cjs');
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkTZPNSOG2cjs = require('../chunk-TZPNSOG2.cjs');
|
|
12
12
|
require('../chunk-MYWZCDML.cjs');
|
|
13
|
+
require('../chunk-TXUHVBKH.cjs');
|
|
13
14
|
require('../chunk-KVFIONKQ.cjs');
|
|
14
|
-
require('../chunk-
|
|
15
|
-
require('../chunk-ARFTQ5HY.cjs');
|
|
15
|
+
require('../chunk-TAG6UEL5.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunk2JSYYH6Pcjs = require('../chunk-2JSYYH6P.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
@@ -28,5 +28,5 @@ var _chunkSPJORZMMcjs = require('../chunk-SPJORZMM.cjs');
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
exports.ActorClientError =
|
|
31
|
+
exports.ActorClientError = _chunkTZPNSOG2cjs.ActorClientError; exports.ActorConnDisposed = _chunkTZPNSOG2cjs.ActorConnDisposed; exports.ActorConnRaw = _chunkTZPNSOG2cjs.ActorConnRaw; exports.ActorError = _chunk2JSYYH6Pcjs.RivetError; exports.ActorHandleRaw = _chunkTZPNSOG2cjs.ActorHandleRaw; exports.MalformedResponseMessage = _chunkTZPNSOG2cjs.MalformedResponseMessage; exports.ManagerError = _chunkTZPNSOG2cjs.ManagerError; exports.RivetError = _chunk2JSYYH6Pcjs.RivetError; exports.UserError = _chunk2JSYYH6Pcjs.UserError; exports.createClient = _chunkSSPTEGTXcjs.createClient;
|
|
32
32
|
//# sourceMappingURL=mod.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { aF as Registry, a3 as Client } from '../config-NHz6oMb9.cjs';
|
|
2
|
+
export { bq as ActorAccessor, br as ActorActionFunction, bs as ActorActionOptions, bt as ActorConn, bu as ActorConnRaw, bv as ActorConnStatus, bw as ActorConnectOptions, v as ActorDefinition, bx as ActorGatewayOptions, by as ActorHandle, bz as ActorHandleRaw, A as AnyActorDefinition, bA as ClientRaw, bB as ConnectionStateCallback, bC as CreateOptions, bD as CreateRequest, bE as EventUnsubscribe, bF as ExtractActorsFromRegistry, bG as ExtractRegistryFromClient, bH as GetOptions, bI as GetWithIdOptions, bJ as QueryOptions, bK as Region, bL as StatusChangeCallback } from '../config-NHz6oMb9.cjs';
|
|
3
3
|
import { G as GetUpgradeWebSocket } from '../utils-Bbz-3411.cjs';
|
|
4
4
|
export { E as Encoding } from '../utils-Bbz-3411.cjs';
|
|
5
5
|
import z from 'zod/v4';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { aF as Registry, a3 as Client } from '../config-BGTanB_3.js';
|
|
2
|
+
export { bq as ActorAccessor, br as ActorActionFunction, bs as ActorActionOptions, bt as ActorConn, bu as ActorConnRaw, bv as ActorConnStatus, bw as ActorConnectOptions, v as ActorDefinition, bx as ActorGatewayOptions, by as ActorHandle, bz as ActorHandleRaw, A as AnyActorDefinition, bA as ClientRaw, bB as ConnectionStateCallback, bC as CreateOptions, bD as CreateRequest, bE as EventUnsubscribe, bF as ExtractActorsFromRegistry, bG as ExtractRegistryFromClient, bH as GetOptions, bI as GetWithIdOptions, bJ as QueryOptions, bK as Region, bL as StatusChangeCallback } from '../config-BGTanB_3.js';
|
|
3
3
|
import { G as GetUpgradeWebSocket } from '../utils-BqdWVlzm.js';
|
|
4
4
|
export { E as Encoding } from '../utils-BqdWVlzm.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-RBXJWAJB.js";
|
|
4
4
|
import {
|
|
5
5
|
ActorClientError,
|
|
6
6
|
ActorConnDisposed,
|
|
@@ -8,15 +8,15 @@ import {
|
|
|
8
8
|
ActorHandleRaw,
|
|
9
9
|
MalformedResponseMessage,
|
|
10
10
|
ManagerError
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-VOYNLY57.js";
|
|
12
12
|
import "../chunk-JI6GZ2C2.js";
|
|
13
|
+
import "../chunk-JYTXOMM7.js";
|
|
13
14
|
import "../chunk-JTHHCZCZ.js";
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-64DT44V2.js";
|
|
15
|
+
import "../chunk-MF42PRF2.js";
|
|
16
16
|
import {
|
|
17
17
|
RivetError,
|
|
18
18
|
UserError
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-OUQUIBVW.js";
|
|
20
20
|
export {
|
|
21
21
|
ActorClientError,
|
|
22
22
|
ActorConnDisposed,
|
package/dist/tsup/common/log.cjs
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
11
|
-
require('../chunk-
|
|
10
|
+
var _chunkTAG6UEL5cjs = require('../chunk-TAG6UEL5.cjs');
|
|
11
|
+
require('../chunk-2JSYYH6P.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -18,5 +18,5 @@ require('../chunk-SPJORZMM.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
exports.LogLevelSchema =
|
|
21
|
+
exports.LogLevelSchema = _chunkTAG6UEL5cjs.LogLevelSchema; exports.configureBaseLogger = _chunkTAG6UEL5cjs.configureBaseLogger; exports.configureDefaultLogger = _chunkTAG6UEL5cjs.configureDefaultLogger; exports.getBaseLogger = _chunkTAG6UEL5cjs.getBaseLogger; exports.getIncludeTarget = _chunkTAG6UEL5cjs.getIncludeTarget; exports.getLogger = _chunkTAG6UEL5cjs.getLogger; exports.getPinoLevel = _chunkTAG6UEL5cjs.getPinoLevel; exports.makeDefaultLogger = _chunkTAG6UEL5cjs.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-
|
|
5
|
-
require('../chunk-
|
|
3
|
+
var _chunkTXUHVBKHcjs = require('../chunk-TXUHVBKH.cjs');
|
|
4
|
+
require('../chunk-TAG6UEL5.cjs');
|
|
5
|
+
require('../chunk-2JSYYH6P.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.importWebSocket =
|
|
8
|
+
exports.importWebSocket = _chunkTXUHVBKHcjs.importWebSocket;
|
|
9
9
|
//# sourceMappingURL=websocket.cjs.map
|
|
@@ -164,6 +164,7 @@ declare const RegistryConfigSchema: z$1.ZodPipe<z$1.ZodObject<{
|
|
|
164
164
|
engineHost: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodString>>;
|
|
165
165
|
enginePort: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
166
166
|
engineVersion: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodString>>;
|
|
167
|
+
startServices: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
167
168
|
configurePool: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodObject<{
|
|
168
169
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
169
170
|
url: z$1.ZodString;
|
|
@@ -195,6 +196,7 @@ declare const RegistryConfigSchema: z$1.ZodPipe<z$1.ZodObject<{
|
|
|
195
196
|
backend: "local" | "remote";
|
|
196
197
|
} | undefined;
|
|
197
198
|
endpoint: string | undefined;
|
|
199
|
+
startServices: boolean;
|
|
198
200
|
namespace: string;
|
|
199
201
|
token: string | undefined;
|
|
200
202
|
publicEndpoint: string | undefined;
|
|
@@ -302,6 +304,7 @@ declare const RegistryConfigSchema: z$1.ZodPipe<z$1.ZodObject<{
|
|
|
302
304
|
};
|
|
303
305
|
staticDir?: string | undefined;
|
|
304
306
|
httpHost?: string | undefined;
|
|
307
|
+
startServices?: boolean | undefined;
|
|
305
308
|
configurePool?: {
|
|
306
309
|
url: string;
|
|
307
310
|
name?: string | undefined;
|
|
@@ -380,6 +383,7 @@ declare const DocRegistryConfigSchema: z$1.ZodObject<{
|
|
|
380
383
|
httpHost: z$1.ZodOptional<z$1.ZodString>;
|
|
381
384
|
startEngine: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
382
385
|
engineVersion: z$1.ZodOptional<z$1.ZodString>;
|
|
386
|
+
startServices: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
383
387
|
configurePool: z$1.ZodOptional<z$1.ZodObject<{
|
|
384
388
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
385
389
|
url: z$1.ZodString;
|
|
@@ -582,6 +586,12 @@ interface RuntimeHttpRequest {
|
|
|
582
586
|
headers?: Record<string, string>;
|
|
583
587
|
body?: RuntimeBytes;
|
|
584
588
|
}
|
|
589
|
+
interface RuntimeHttpResponseBodyStream {
|
|
590
|
+
cancelled(): Promise<void>;
|
|
591
|
+
write(chunk: Uint8Array): Promise<void>;
|
|
592
|
+
end(): Promise<void>;
|
|
593
|
+
error(message: string): Promise<void>;
|
|
594
|
+
}
|
|
585
595
|
interface RuntimeStateDeltaPayload {
|
|
586
596
|
state?: RuntimeBytes;
|
|
587
597
|
connHibernation: Array<{
|
|
@@ -733,7 +743,6 @@ interface RuntimeSqlRunResult {
|
|
|
733
743
|
interface RuntimeActorConfig {
|
|
734
744
|
name?: string;
|
|
735
745
|
icon?: string;
|
|
736
|
-
maxActions?: number;
|
|
737
746
|
hasDatabase?: boolean;
|
|
738
747
|
remoteSqlite?: boolean;
|
|
739
748
|
sqliteProfiling?: SqliteProfilingOptions;
|
|
@@ -790,6 +799,8 @@ interface RuntimeServeConfig {
|
|
|
790
799
|
namespace: string;
|
|
791
800
|
poolName: string;
|
|
792
801
|
engineBinaryPath?: string;
|
|
802
|
+
startServices?: boolean;
|
|
803
|
+
servicesBinaryPath?: string;
|
|
793
804
|
engineHost?: string;
|
|
794
805
|
enginePort?: number;
|
|
795
806
|
handleInspectorHttpInRuntime?: boolean;
|
|
@@ -814,12 +825,16 @@ interface RuntimeServerlessRequest {
|
|
|
814
825
|
headers: Record<string, string>;
|
|
815
826
|
body: RuntimeBytes;
|
|
816
827
|
}
|
|
828
|
+
interface RuntimeApplicationRequest extends RuntimeServerlessRequest {
|
|
829
|
+
cancelToken?: CancellationTokenHandle;
|
|
830
|
+
}
|
|
817
831
|
interface RuntimeApplicationResponse {
|
|
818
832
|
status: number;
|
|
819
833
|
headers: Record<string, string>;
|
|
820
|
-
body
|
|
834
|
+
body?: RuntimeBytes;
|
|
835
|
+
stream?: boolean;
|
|
821
836
|
}
|
|
822
|
-
type RuntimeApplicationFetch = (request:
|
|
837
|
+
type RuntimeApplicationFetch = (request: RuntimeApplicationRequest, responseBodyStream?: RuntimeHttpResponseBodyStream) => Promise<RuntimeApplicationResponse>;
|
|
823
838
|
interface RuntimeApplicationListenerConfig extends RuntimeListenerConfig {
|
|
824
839
|
application: RuntimeApplicationFetch;
|
|
825
840
|
}
|
|
@@ -1645,7 +1660,6 @@ declare function createClientWithDriver<A extends Registry<any>>(driver: EngineC
|
|
|
1645
1660
|
}): Client<A>;
|
|
1646
1661
|
|
|
1647
1662
|
declare const DEFAULT_SLEEP_GRACE_PERIOD = 15000;
|
|
1648
|
-
declare const DEFAULT_MAX_ACTIONS = 128;
|
|
1649
1663
|
declare const ACTOR_CONTEXT_INTERNAL_SYMBOL: unique symbol;
|
|
1650
1664
|
declare const RAW_STATE_SYMBOL: unique symbol;
|
|
1651
1665
|
declare const CONN_DRIVER_SYMBOL: unique symbol;
|
|
@@ -2109,7 +2123,6 @@ declare function disposeRunInspector(run: ((...args: any[]) => any) | AnyRunConf
|
|
|
2109
2123
|
declare const GlobalActorOptionsSchema: z.ZodPrefault<z.ZodObject<{
|
|
2110
2124
|
name: z.ZodOptional<z.ZodString>;
|
|
2111
2125
|
icon: z.ZodOptional<z.ZodString>;
|
|
2112
|
-
maxActions: z.ZodDefault<z.ZodNumber>;
|
|
2113
2126
|
enableActorRuntimeSocket: z.ZodDefault<z.ZodBoolean>;
|
|
2114
2127
|
canHibernateWebSocket: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodCustom<(request: Request) => boolean, (request: Request) => boolean>]>>;
|
|
2115
2128
|
}, z.core.$strict>>;
|
|
@@ -2141,7 +2154,6 @@ type InstanceActorOptionsInput = z.input<typeof InstanceActorOptionsSchema>;
|
|
|
2141
2154
|
declare const ActorOptionsSchema: z.ZodPrefault<z.ZodObject<{
|
|
2142
2155
|
name: z.ZodOptional<z.ZodString>;
|
|
2143
2156
|
icon: z.ZodOptional<z.ZodString>;
|
|
2144
|
-
maxActions: z.ZodDefault<z.ZodNumber>;
|
|
2145
2157
|
enableActorRuntimeSocket: z.ZodDefault<z.ZodBoolean>;
|
|
2146
2158
|
canHibernateWebSocket: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodCustom<(request: Request) => boolean, (request: Request) => boolean>]>>;
|
|
2147
2159
|
createVarsTimeout: z.ZodDefault<z.ZodNumber>;
|
|
@@ -2207,7 +2219,6 @@ declare const ActorConfigSchema: z.ZodObject<{
|
|
|
2207
2219
|
options: z.ZodPrefault<z.ZodObject<{
|
|
2208
2220
|
name: z.ZodOptional<z.ZodString>;
|
|
2209
2221
|
icon: z.ZodOptional<z.ZodString>;
|
|
2210
|
-
maxActions: z.ZodDefault<z.ZodNumber>;
|
|
2211
2222
|
enableActorRuntimeSocket: z.ZodDefault<z.ZodBoolean>;
|
|
2212
2223
|
canHibernateWebSocket: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodCustom<(request: Request) => boolean, (request: Request) => boolean>]>>;
|
|
2213
2224
|
createVarsTimeout: z.ZodDefault<z.ZodNumber>;
|
|
@@ -2466,7 +2477,6 @@ declare function test<TState, TConnParams, TConnState, TVars, TInput, TDatabase
|
|
|
2466
2477
|
declare const DocActorOptionsSchema: z.ZodObject<{
|
|
2467
2478
|
name: z.ZodOptional<z.ZodString>;
|
|
2468
2479
|
icon: z.ZodOptional<z.ZodString>;
|
|
2469
|
-
maxActions: z.ZodOptional<z.ZodNumber>;
|
|
2470
2480
|
enableActorRuntimeSocket: z.ZodOptional<z.ZodBoolean>;
|
|
2471
2481
|
createVarsTimeout: z.ZodOptional<z.ZodNumber>;
|
|
2472
2482
|
createConnStateTimeout: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2516,7 +2526,6 @@ declare const DocActorConfigSchema: z.ZodObject<{
|
|
|
2516
2526
|
options: z.ZodOptional<z.ZodObject<{
|
|
2517
2527
|
name: z.ZodOptional<z.ZodString>;
|
|
2518
2528
|
icon: z.ZodOptional<z.ZodString>;
|
|
2519
|
-
maxActions: z.ZodOptional<z.ZodNumber>;
|
|
2520
2529
|
enableActorRuntimeSocket: z.ZodOptional<z.ZodBoolean>;
|
|
2521
2530
|
createVarsTimeout: z.ZodOptional<z.ZodNumber>;
|
|
2522
2531
|
createConnStateTimeout: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2539,4 +2548,4 @@ declare const DocActorConfigSchema: z.ZodObject<{
|
|
|
2539
2548
|
}, z.core.$strip>>;
|
|
2540
2549
|
}, z.core.$strip>;
|
|
2541
2550
|
|
|
2542
|
-
export { type BaseActorInstance 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 ActorRun as L, type MigrateContext as M, type ActorSchedule as N, type ActorTypes as O, ActorsSchema as P, type QueueSchemaConfig as Q, type RequestContext as R, type SleepContext as S, type AnyActorInstance as T, type AnyClient as U, type AnyConn as V, type WakeContext as W, type AnyStaticActorDefinition as X, type AnyStaticActorInstance as Y, type AuthIntent as Z, BUILTIN_INSPECTOR_TAB_IDS as _, type ActionContext as a, type
|
|
2551
|
+
export { type BaseActorInstance 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 ActorRun as L, type MigrateContext as M, type ActorSchedule as N, type ActorTypes as O, ActorsSchema as P, type QueueSchemaConfig as Q, type RequestContext as R, type SleepContext as S, type AnyActorInstance as T, type AnyClient as U, type AnyConn as V, type WakeContext as W, type AnyStaticActorDefinition as X, type AnyStaticActorInstance as Y, type AuthIntent as Z, BUILTIN_INSPECTOR_TAB_IDS as _, type ActionContext as a, type SqliteBackend as a$, BuiltinInspectorTabIdSchema as a0, CONN_DRIVER_SYMBOL as a1, CONN_STATE_MANAGER_SYMBOL as a2, type Client as a3, type Conn as a4, type CronFire as a5, type CronJobInfo as a6, CustomInspectorTabEntrySchema as a7, DEFAULT_SLEEP_GRACE_PERIOD as a8, type DefineRunHandlerOptions as a9, type QueueResultMessageForName as aA, type QueueTryNextBatchOptions as aB, type QueueTryNextOptions as aC, type QueueWaitOptions as aD, RAW_STATE_SYMBOL as aE, Registry as aF, type RegistryActors as aG, type RegistryApplication as aH, type RegistryConfig as aI, type RegistryConfigInput as aJ, RegistryConfigSchema as aK, type RegistryDeps as aL, type RegistryListenOptions as aM, type RegistryRoutes as aN, type RunConfig as aO, RunConfigSchema as aP, type RunControl as aQ, type RunInspectorConfig as aR, type RunInspectorFactoryContext as aS, type RunInspectorFactoryResult as aT, type RunInspectorKind as aU, type RunWithInactiveOptions as aV, type RuntimeKind as aW, RuntimeKindSchema as aX, type ScheduledEventInfo as aY, type ScheduledFireInfo as aZ, type ServerlessHandler as a_, DocActorConfigSchema as aa, DocActorOptionsSchema as ab, DocConfigurePoolSchema as ac, DocEnvoyConfigSchema as ad, DocRegistryConfigSchema as ae, DocServerlessConfigSchema as af, DocSqliteConfigSchema as ag, type FetchHandler as ah, type GlobalActorOptions as ai, type GlobalActorOptionsInput as aj, GlobalActorOptionsSchema as ak, HideInspectorTabEntrySchema as al, type InferEventArgs as am, type InferSchemaMap as an, InspectorTabEntrySchema as ao, type InspectorUnsubscribe as ap, type InstanceActorOptions as aq, type InstanceActorOptionsInput as ar, InstanceActorOptionsSchema as as, type QueueEnqueueAndWaitOptions as at, type QueueFilterName as au, type QueueIterOptions as av, type QueueMessageOf as aw, type QueueName as ax, type QueueNextBatchOptions as ay, type QueueNextOptions as az, type BeforeActionResponseContext as b, SqliteBackendSchema as b0, type SqliteConfig as b1, SqliteConfigSchema as b2, type TestConfig as b3, TestConfigSchema as b4, type Type as b5, type WasmRuntimeBindings as b6, type WasmRuntimeConfig as b7, WasmRuntimeConfigSchema as b8, type WasmRuntimeInitInput as b9, ClientRaw as bA, type ConnectionStateCallback as bB, type CreateOptions as bC, type CreateRequest as bD, type EventUnsubscribe as bE, type ExtractActorsFromRegistry as bF, type ExtractRegistryFromClient as bG, type GetOptions as bH, type GetWithIdOptions as bI, type QueryOptions as bJ, type Region as bK, type StatusChangeCallback as bL, type WorkflowInspectorConfig as ba, actor as bb, buildActorNames as bc, createClientWithDriver as bd, defineRunHandler as be, disposeRunInspector as bf, event as bg, getRunFunction as bh, getRunInspectorConfig as bi, getRunMetadata as bj, isStaticActorDefinition as bk, isStaticActorInstance as bl, lookupInRegistry as bm, queue as bn, setup as bo, test as bp, type ActorAccessor as bq, type ActorActionFunction as br, type ActorActionOptions as bs, type ActorConn as bt, ActorConnRaw as bu, type ActorConnStatus as bv, type ActorConnectOptions as bw, type ActorGatewayOptions as bx, type ActorHandle as by, ActorHandleRaw 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 };
|
|
@@ -164,6 +164,7 @@ declare const RegistryConfigSchema: z$1.ZodPipe<z$1.ZodObject<{
|
|
|
164
164
|
engineHost: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodString>>;
|
|
165
165
|
enginePort: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
166
166
|
engineVersion: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodString>>;
|
|
167
|
+
startServices: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
167
168
|
configurePool: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodObject<{
|
|
168
169
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
169
170
|
url: z$1.ZodString;
|
|
@@ -195,6 +196,7 @@ declare const RegistryConfigSchema: z$1.ZodPipe<z$1.ZodObject<{
|
|
|
195
196
|
backend: "local" | "remote";
|
|
196
197
|
} | undefined;
|
|
197
198
|
endpoint: string | undefined;
|
|
199
|
+
startServices: boolean;
|
|
198
200
|
namespace: string;
|
|
199
201
|
token: string | undefined;
|
|
200
202
|
publicEndpoint: string | undefined;
|
|
@@ -302,6 +304,7 @@ declare const RegistryConfigSchema: z$1.ZodPipe<z$1.ZodObject<{
|
|
|
302
304
|
};
|
|
303
305
|
staticDir?: string | undefined;
|
|
304
306
|
httpHost?: string | undefined;
|
|
307
|
+
startServices?: boolean | undefined;
|
|
305
308
|
configurePool?: {
|
|
306
309
|
url: string;
|
|
307
310
|
name?: string | undefined;
|
|
@@ -380,6 +383,7 @@ declare const DocRegistryConfigSchema: z$1.ZodObject<{
|
|
|
380
383
|
httpHost: z$1.ZodOptional<z$1.ZodString>;
|
|
381
384
|
startEngine: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
382
385
|
engineVersion: z$1.ZodOptional<z$1.ZodString>;
|
|
386
|
+
startServices: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
383
387
|
configurePool: z$1.ZodOptional<z$1.ZodObject<{
|
|
384
388
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
385
389
|
url: z$1.ZodString;
|
|
@@ -582,6 +586,12 @@ interface RuntimeHttpRequest {
|
|
|
582
586
|
headers?: Record<string, string>;
|
|
583
587
|
body?: RuntimeBytes;
|
|
584
588
|
}
|
|
589
|
+
interface RuntimeHttpResponseBodyStream {
|
|
590
|
+
cancelled(): Promise<void>;
|
|
591
|
+
write(chunk: Uint8Array): Promise<void>;
|
|
592
|
+
end(): Promise<void>;
|
|
593
|
+
error(message: string): Promise<void>;
|
|
594
|
+
}
|
|
585
595
|
interface RuntimeStateDeltaPayload {
|
|
586
596
|
state?: RuntimeBytes;
|
|
587
597
|
connHibernation: Array<{
|
|
@@ -733,7 +743,6 @@ interface RuntimeSqlRunResult {
|
|
|
733
743
|
interface RuntimeActorConfig {
|
|
734
744
|
name?: string;
|
|
735
745
|
icon?: string;
|
|
736
|
-
maxActions?: number;
|
|
737
746
|
hasDatabase?: boolean;
|
|
738
747
|
remoteSqlite?: boolean;
|
|
739
748
|
sqliteProfiling?: SqliteProfilingOptions;
|
|
@@ -790,6 +799,8 @@ interface RuntimeServeConfig {
|
|
|
790
799
|
namespace: string;
|
|
791
800
|
poolName: string;
|
|
792
801
|
engineBinaryPath?: string;
|
|
802
|
+
startServices?: boolean;
|
|
803
|
+
servicesBinaryPath?: string;
|
|
793
804
|
engineHost?: string;
|
|
794
805
|
enginePort?: number;
|
|
795
806
|
handleInspectorHttpInRuntime?: boolean;
|
|
@@ -814,12 +825,16 @@ interface RuntimeServerlessRequest {
|
|
|
814
825
|
headers: Record<string, string>;
|
|
815
826
|
body: RuntimeBytes;
|
|
816
827
|
}
|
|
828
|
+
interface RuntimeApplicationRequest extends RuntimeServerlessRequest {
|
|
829
|
+
cancelToken?: CancellationTokenHandle;
|
|
830
|
+
}
|
|
817
831
|
interface RuntimeApplicationResponse {
|
|
818
832
|
status: number;
|
|
819
833
|
headers: Record<string, string>;
|
|
820
|
-
body
|
|
834
|
+
body?: RuntimeBytes;
|
|
835
|
+
stream?: boolean;
|
|
821
836
|
}
|
|
822
|
-
type RuntimeApplicationFetch = (request:
|
|
837
|
+
type RuntimeApplicationFetch = (request: RuntimeApplicationRequest, responseBodyStream?: RuntimeHttpResponseBodyStream) => Promise<RuntimeApplicationResponse>;
|
|
823
838
|
interface RuntimeApplicationListenerConfig extends RuntimeListenerConfig {
|
|
824
839
|
application: RuntimeApplicationFetch;
|
|
825
840
|
}
|
|
@@ -1645,7 +1660,6 @@ declare function createClientWithDriver<A extends Registry<any>>(driver: EngineC
|
|
|
1645
1660
|
}): Client<A>;
|
|
1646
1661
|
|
|
1647
1662
|
declare const DEFAULT_SLEEP_GRACE_PERIOD = 15000;
|
|
1648
|
-
declare const DEFAULT_MAX_ACTIONS = 128;
|
|
1649
1663
|
declare const ACTOR_CONTEXT_INTERNAL_SYMBOL: unique symbol;
|
|
1650
1664
|
declare const RAW_STATE_SYMBOL: unique symbol;
|
|
1651
1665
|
declare const CONN_DRIVER_SYMBOL: unique symbol;
|
|
@@ -2109,7 +2123,6 @@ declare function disposeRunInspector(run: ((...args: any[]) => any) | AnyRunConf
|
|
|
2109
2123
|
declare const GlobalActorOptionsSchema: z.ZodPrefault<z.ZodObject<{
|
|
2110
2124
|
name: z.ZodOptional<z.ZodString>;
|
|
2111
2125
|
icon: z.ZodOptional<z.ZodString>;
|
|
2112
|
-
maxActions: z.ZodDefault<z.ZodNumber>;
|
|
2113
2126
|
enableActorRuntimeSocket: z.ZodDefault<z.ZodBoolean>;
|
|
2114
2127
|
canHibernateWebSocket: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodCustom<(request: Request) => boolean, (request: Request) => boolean>]>>;
|
|
2115
2128
|
}, z.core.$strict>>;
|
|
@@ -2141,7 +2154,6 @@ type InstanceActorOptionsInput = z.input<typeof InstanceActorOptionsSchema>;
|
|
|
2141
2154
|
declare const ActorOptionsSchema: z.ZodPrefault<z.ZodObject<{
|
|
2142
2155
|
name: z.ZodOptional<z.ZodString>;
|
|
2143
2156
|
icon: z.ZodOptional<z.ZodString>;
|
|
2144
|
-
maxActions: z.ZodDefault<z.ZodNumber>;
|
|
2145
2157
|
enableActorRuntimeSocket: z.ZodDefault<z.ZodBoolean>;
|
|
2146
2158
|
canHibernateWebSocket: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodCustom<(request: Request) => boolean, (request: Request) => boolean>]>>;
|
|
2147
2159
|
createVarsTimeout: z.ZodDefault<z.ZodNumber>;
|
|
@@ -2207,7 +2219,6 @@ declare const ActorConfigSchema: z.ZodObject<{
|
|
|
2207
2219
|
options: z.ZodPrefault<z.ZodObject<{
|
|
2208
2220
|
name: z.ZodOptional<z.ZodString>;
|
|
2209
2221
|
icon: z.ZodOptional<z.ZodString>;
|
|
2210
|
-
maxActions: z.ZodDefault<z.ZodNumber>;
|
|
2211
2222
|
enableActorRuntimeSocket: z.ZodDefault<z.ZodBoolean>;
|
|
2212
2223
|
canHibernateWebSocket: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodCustom<(request: Request) => boolean, (request: Request) => boolean>]>>;
|
|
2213
2224
|
createVarsTimeout: z.ZodDefault<z.ZodNumber>;
|
|
@@ -2466,7 +2477,6 @@ declare function test<TState, TConnParams, TConnState, TVars, TInput, TDatabase
|
|
|
2466
2477
|
declare const DocActorOptionsSchema: z.ZodObject<{
|
|
2467
2478
|
name: z.ZodOptional<z.ZodString>;
|
|
2468
2479
|
icon: z.ZodOptional<z.ZodString>;
|
|
2469
|
-
maxActions: z.ZodOptional<z.ZodNumber>;
|
|
2470
2480
|
enableActorRuntimeSocket: z.ZodOptional<z.ZodBoolean>;
|
|
2471
2481
|
createVarsTimeout: z.ZodOptional<z.ZodNumber>;
|
|
2472
2482
|
createConnStateTimeout: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2516,7 +2526,6 @@ declare const DocActorConfigSchema: z.ZodObject<{
|
|
|
2516
2526
|
options: z.ZodOptional<z.ZodObject<{
|
|
2517
2527
|
name: z.ZodOptional<z.ZodString>;
|
|
2518
2528
|
icon: z.ZodOptional<z.ZodString>;
|
|
2519
|
-
maxActions: z.ZodOptional<z.ZodNumber>;
|
|
2520
2529
|
enableActorRuntimeSocket: z.ZodOptional<z.ZodBoolean>;
|
|
2521
2530
|
createVarsTimeout: z.ZodOptional<z.ZodNumber>;
|
|
2522
2531
|
createConnStateTimeout: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2539,4 +2548,4 @@ declare const DocActorConfigSchema: z.ZodObject<{
|
|
|
2539
2548
|
}, z.core.$strip>>;
|
|
2540
2549
|
}, z.core.$strip>;
|
|
2541
2550
|
|
|
2542
|
-
export { type BaseActorInstance 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 ActorRun as L, type MigrateContext as M, type ActorSchedule as N, type ActorTypes as O, ActorsSchema as P, type QueueSchemaConfig as Q, type RequestContext as R, type SleepContext as S, type AnyActorInstance as T, type AnyClient as U, type AnyConn as V, type WakeContext as W, type AnyStaticActorDefinition as X, type AnyStaticActorInstance as Y, type AuthIntent as Z, BUILTIN_INSPECTOR_TAB_IDS as _, type ActionContext as a, type
|
|
2551
|
+
export { type BaseActorInstance 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 ActorRun as L, type MigrateContext as M, type ActorSchedule as N, type ActorTypes as O, ActorsSchema as P, type QueueSchemaConfig as Q, type RequestContext as R, type SleepContext as S, type AnyActorInstance as T, type AnyClient as U, type AnyConn as V, type WakeContext as W, type AnyStaticActorDefinition as X, type AnyStaticActorInstance as Y, type AuthIntent as Z, BUILTIN_INSPECTOR_TAB_IDS as _, type ActionContext as a, type SqliteBackend as a$, BuiltinInspectorTabIdSchema as a0, CONN_DRIVER_SYMBOL as a1, CONN_STATE_MANAGER_SYMBOL as a2, type Client as a3, type Conn as a4, type CronFire as a5, type CronJobInfo as a6, CustomInspectorTabEntrySchema as a7, DEFAULT_SLEEP_GRACE_PERIOD as a8, type DefineRunHandlerOptions as a9, type QueueResultMessageForName as aA, type QueueTryNextBatchOptions as aB, type QueueTryNextOptions as aC, type QueueWaitOptions as aD, RAW_STATE_SYMBOL as aE, Registry as aF, type RegistryActors as aG, type RegistryApplication as aH, type RegistryConfig as aI, type RegistryConfigInput as aJ, RegistryConfigSchema as aK, type RegistryDeps as aL, type RegistryListenOptions as aM, type RegistryRoutes as aN, type RunConfig as aO, RunConfigSchema as aP, type RunControl as aQ, type RunInspectorConfig as aR, type RunInspectorFactoryContext as aS, type RunInspectorFactoryResult as aT, type RunInspectorKind as aU, type RunWithInactiveOptions as aV, type RuntimeKind as aW, RuntimeKindSchema as aX, type ScheduledEventInfo as aY, type ScheduledFireInfo as aZ, type ServerlessHandler as a_, DocActorConfigSchema as aa, DocActorOptionsSchema as ab, DocConfigurePoolSchema as ac, DocEnvoyConfigSchema as ad, DocRegistryConfigSchema as ae, DocServerlessConfigSchema as af, DocSqliteConfigSchema as ag, type FetchHandler as ah, type GlobalActorOptions as ai, type GlobalActorOptionsInput as aj, GlobalActorOptionsSchema as ak, HideInspectorTabEntrySchema as al, type InferEventArgs as am, type InferSchemaMap as an, InspectorTabEntrySchema as ao, type InspectorUnsubscribe as ap, type InstanceActorOptions as aq, type InstanceActorOptionsInput as ar, InstanceActorOptionsSchema as as, type QueueEnqueueAndWaitOptions as at, type QueueFilterName as au, type QueueIterOptions as av, type QueueMessageOf as aw, type QueueName as ax, type QueueNextBatchOptions as ay, type QueueNextOptions as az, type BeforeActionResponseContext as b, SqliteBackendSchema as b0, type SqliteConfig as b1, SqliteConfigSchema as b2, type TestConfig as b3, TestConfigSchema as b4, type Type as b5, type WasmRuntimeBindings as b6, type WasmRuntimeConfig as b7, WasmRuntimeConfigSchema as b8, type WasmRuntimeInitInput as b9, ClientRaw as bA, type ConnectionStateCallback as bB, type CreateOptions as bC, type CreateRequest as bD, type EventUnsubscribe as bE, type ExtractActorsFromRegistry as bF, type ExtractRegistryFromClient as bG, type GetOptions as bH, type GetWithIdOptions as bI, type QueryOptions as bJ, type Region as bK, type StatusChangeCallback as bL, type WorkflowInspectorConfig as ba, actor as bb, buildActorNames as bc, createClientWithDriver as bd, defineRunHandler as be, disposeRunInspector as bf, event as bg, getRunFunction as bh, getRunInspectorConfig as bi, getRunMetadata as bj, isStaticActorDefinition as bk, isStaticActorInstance as bl, lookupInRegistry as bm, queue as bn, setup as bo, test as bp, type ActorAccessor as bq, type ActorActionFunction as br, type ActorActionOptions as bs, type ActorConn as bt, ActorConnRaw as bu, type ActorConnStatus as bv, type ActorConnectOptions as bw, type ActorGatewayOptions as bx, type ActorHandle as by, ActorHandleRaw 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, F as ActorLogger,
|
|
1
|
+
import { A as AnyActorDefinition, B as BaseActorDefinition, E as EventSchemaConfig, Q as QueueSchemaConfig, h as RunContext, F as ActorLogger, au as QueueFilterName, az as QueueNextOptions, aA as QueueResultMessageForName, ay as QueueNextBatchOptions, aF as Registry, a3 as Client, am as InferEventArgs, an as InferSchemaMap } from './config-NHz6oMb9.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-ey2I2zz5.cjs';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AnyActorDefinition, B as BaseActorDefinition, E as EventSchemaConfig, Q as QueueSchemaConfig, h as RunContext, F as ActorLogger,
|
|
1
|
+
import { A as AnyActorDefinition, B as BaseActorDefinition, E as EventSchemaConfig, Q as QueueSchemaConfig, h as RunContext, F as ActorLogger, au as QueueFilterName, az as QueueNextOptions, aA as QueueResultMessageForName, ay as QueueNextBatchOptions, aF as Registry, a3 as Client, am as InferEventArgs, an as InferSchemaMap } from './config-BGTanB_3.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-ey2I2zz5.js';
|
|
4
4
|
|
package/dist/tsup/db/drizzle.cjs
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
var _chunkKVFIONKQcjs = require('../chunk-KVFIONKQ.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
11
|
-
require('../chunk-
|
|
10
|
+
var _chunkTAG6UEL5cjs = require('../chunk-TAG6UEL5.cjs');
|
|
11
|
+
require('../chunk-2JSYYH6P.cjs');
|
|
12
12
|
|
|
13
13
|
// src/db/drizzle.ts
|
|
14
14
|
|
|
@@ -164,7 +164,7 @@ function db({
|
|
|
164
164
|
return;
|
|
165
165
|
}
|
|
166
166
|
manualTransactionWarned = true;
|
|
167
|
-
|
|
167
|
+
_chunkTAG6UEL5cjs.getLogger.call(void 0, "database").warn(
|
|
168
168
|
{ actorId: ctx.actorId },
|
|
169
169
|
"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."
|
|
170
170
|
);
|
package/dist/tsup/db/drizzle.js
CHANGED
package/dist/tsup/db/mod.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkFGQABMXZcjs = require('../chunk-FGQABMXZ.cjs');
|
|
4
4
|
require('../chunk-KVFIONKQ.cjs');
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
5
|
+
require('../chunk-TAG6UEL5.cjs');
|
|
6
|
+
require('../chunk-2JSYYH6P.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.db =
|
|
9
|
+
exports.db = _chunkFGQABMXZcjs.db;
|
|
10
10
|
//# sourceMappingURL=mod.cjs.map
|
package/dist/tsup/db/mod.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
db
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-EBXARMGI.js";
|
|
4
4
|
import "../chunk-JTHHCZCZ.js";
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-MF42PRF2.js";
|
|
6
|
+
import "../chunk-OUQUIBVW.js";
|
|
7
7
|
export {
|
|
8
8
|
db
|
|
9
9
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk4KGXFC6Mcjs = require('../chunk-4KGXFC6M.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 = _chunk4KGXFC6Mcjs.ActorConfigSchema.parse({
|
|
13
13
|
actions: {}
|
|
14
14
|
});
|
|
15
15
|
return {
|