rivetkit 0.0.0-codex-fix-engine-ui-build-base.aec1405 → 0.0.0-codex-rivetkit-cli-preview.5e414a8
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 +16 -0
- package/dist/browser/client.js +2 -2
- 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/actor/errors.d.cts +1 -1
- package/dist/tsup/actor/errors.d.ts +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.d.cts +16 -0
- package/dist/tsup/agent-os/index.d.ts +16 -0
- package/dist/tsup/agent-os/index.js +1 -1
- package/dist/tsup/agent-os/index.js.map +1 -1
- package/dist/tsup/{chunk-CMJVDEDE.js → chunk-2QXFHVEN.js} +2 -2
- package/dist/tsup/{chunk-SZHZSNPS.cjs → chunk-6VZXVJYZ.cjs} +5 -5
- package/dist/tsup/{chunk-SZHZSNPS.cjs.map → chunk-6VZXVJYZ.cjs.map} +1 -1
- package/dist/tsup/{chunk-2WQQZFYZ.js → chunk-DPIMKYNB.js} +1 -1
- package/dist/tsup/chunk-DPIMKYNB.js.map +1 -0
- package/dist/tsup/{chunk-HAEJDJSQ.cjs → chunk-DZQGDGIN.cjs} +4 -4
- package/dist/tsup/{chunk-HAEJDJSQ.cjs.map → chunk-DZQGDGIN.cjs.map} +1 -1
- package/dist/tsup/{chunk-IB3DGSJZ.js → chunk-ECFRAMQD.js} +2 -2
- package/dist/tsup/{chunk-PAL2SCK4.cjs → chunk-EHZUN5MG.cjs} +140 -140
- package/dist/tsup/{chunk-PAL2SCK4.cjs.map → chunk-EHZUN5MG.cjs.map} +1 -1
- package/dist/tsup/{chunk-F454HCI7.js → chunk-IGJMQRB4.js} +9 -2
- package/dist/tsup/chunk-IGJMQRB4.js.map +1 -0
- package/dist/tsup/{chunk-IFMTKFQV.js → chunk-J7BFJSYQ.js} +4 -4
- package/dist/tsup/{chunk-EUIYU7BE.js → chunk-L7POWJNK.js} +2 -2
- package/dist/tsup/{chunk-KR36C74E.cjs → chunk-N3LBY42M.cjs} +10 -10
- package/dist/tsup/{chunk-KR36C74E.cjs.map → chunk-N3LBY42M.cjs.map} +1 -1
- package/dist/tsup/{chunk-MWNKF5OP.cjs → chunk-NIY3RSPX.cjs} +1 -1
- package/dist/tsup/chunk-NIY3RSPX.cjs.map +1 -0
- package/dist/tsup/{chunk-ZSJVOE76.cjs → chunk-RAGKYTA7.cjs} +7 -7
- package/dist/tsup/{chunk-ZSJVOE76.cjs.map → chunk-RAGKYTA7.cjs.map} +1 -1
- package/dist/tsup/{chunk-PT6PN7RZ.js → chunk-SQIH25ZX.js} +3 -3
- package/dist/tsup/{chunk-RGV6A7NC.cjs → chunk-TT4OKZXC.cjs} +3 -3
- package/dist/tsup/{chunk-RGV6A7NC.cjs.map → chunk-TT4OKZXC.cjs.map} +1 -1
- package/dist/tsup/{chunk-DCAQEZO6.cjs → chunk-TVLFO27D.cjs} +10 -3
- package/dist/tsup/chunk-TVLFO27D.cjs.map +1 -0
- package/dist/tsup/{chunk-DF4LSVO4.js → chunk-V7XWYC4T.js} +5 -5
- package/dist/tsup/{chunk-DF4LSVO4.js.map → chunk-V7XWYC4T.js.map} +1 -1
- package/dist/tsup/client/mod.cjs +6 -6
- package/dist/tsup/client/mod.d.cts +3 -3
- package/dist/tsup/client/mod.d.ts +3 -3
- package/dist/tsup/client/mod.js +5 -5
- 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-DJU_K3QZ.d.ts → config-BxWAw3iH.d.ts} +17 -1
- package/dist/tsup/{config-B7TlE3x5.d.cts → config-CZQQ-mso.d.cts} +17 -1
- package/dist/tsup/{context-CWRUBQJc.d.cts → context-Bw7xq8w3.d.cts} +1 -1
- package/dist/tsup/{context-BsCziuYX.d.ts → context-D8QA76sV.d.ts} +1 -1
- package/dist/tsup/dynamic/mod.cjs +2 -2
- package/dist/tsup/dynamic/mod.d.cts +2 -2
- package/dist/tsup/dynamic/mod.d.ts +2 -2
- package/dist/tsup/dynamic/mod.js +1 -1
- package/dist/tsup/inspector/mod.cjs +5 -5
- package/dist/tsup/inspector/mod.js +4 -4
- package/dist/tsup/inspector-tab/mod.cjs +2 -2
- package/dist/tsup/inspector-tab/mod.d.cts +3 -3
- package/dist/tsup/inspector-tab/mod.d.ts +3 -3
- package/dist/tsup/inspector-tab/mod.js +1 -1
- package/dist/tsup/mod.cjs +130 -79
- package/dist/tsup/mod.cjs.map +1 -1
- package/dist/tsup/mod.d.cts +4 -4
- package/dist/tsup/mod.d.ts +4 -4
- package/dist/tsup/mod.js +63 -12
- package/dist/tsup/mod.js.map +1 -1
- package/dist/tsup/test/mod.cjs +9 -9
- package/dist/tsup/test/mod.d.cts +2 -2
- package/dist/tsup/test/mod.d.ts +2 -2
- package/dist/tsup/test/mod.js +5 -5
- package/dist/tsup/{utils-DVekpm4I.d.cts → utils-DQosb24I.d.cts} +1 -1
- package/dist/tsup/{utils-DVekpm4I.d.ts → utils-DQosb24I.d.ts} +1 -1
- package/dist/tsup/utils.cjs +2 -2
- package/dist/tsup/utils.d.cts +1 -1
- package/dist/tsup/utils.d.ts +1 -1
- package/dist/tsup/utils.js +1 -1
- package/dist/tsup/workflow/mod.cjs +11 -11
- package/dist/tsup/workflow/mod.d.cts +4 -4
- package/dist/tsup/workflow/mod.d.ts +4 -4
- package/dist/tsup/workflow/mod.js +5 -5
- package/package.json +8 -8
- package/src/actor/config.ts +8 -0
- package/src/actor/instance/mod.ts +4 -4
- package/src/actor/mod.ts +2 -0
- package/src/common/engine.ts +28 -1
- package/src/engine-client/actor-http-client.ts +2 -2
- package/src/registry/config/index.ts +37 -7
- package/src/registry/index.ts +4 -2
- package/src/registry/native.ts +37 -7
- package/src/registry/runtime.ts +4 -0
- package/src/utils/env-vars.ts +6 -0
- package/dist/tsup/chunk-2WQQZFYZ.js.map +0 -1
- package/dist/tsup/chunk-DCAQEZO6.cjs.map +0 -1
- package/dist/tsup/chunk-F454HCI7.js.map +0 -1
- package/dist/tsup/chunk-MWNKF5OP.cjs.map +0 -1
- /package/dist/tsup/{chunk-CMJVDEDE.js.map → chunk-2QXFHVEN.js.map} +0 -0
- /package/dist/tsup/{chunk-IB3DGSJZ.js.map → chunk-ECFRAMQD.js.map} +0 -0
- /package/dist/tsup/{chunk-IFMTKFQV.js.map → chunk-J7BFJSYQ.js.map} +0 -0
- /package/dist/tsup/{chunk-EUIYU7BE.js.map → chunk-L7POWJNK.js.map} +0 -0
- /package/dist/tsup/{chunk-PT6PN7RZ.js.map → chunk-SQIH25ZX.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 _chunkRAGKYTA7cjs = require('../chunk-RAGKYTA7.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -8,12 +8,12 @@ var _chunkZSJVOE76cjs = require('../chunk-ZSJVOE76.cjs');
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkEHZUN5MGcjs = require('../chunk-EHZUN5MG.cjs');
|
|
12
12
|
require('../chunk-VE2X4KMG.cjs');
|
|
13
|
-
require('../chunk-
|
|
13
|
+
require('../chunk-6VZXVJYZ.cjs');
|
|
14
14
|
require('../chunk-ZA7FLHKH.cjs');
|
|
15
|
-
require('../chunk-
|
|
16
|
-
require('../chunk-
|
|
15
|
+
require('../chunk-TT4OKZXC.cjs');
|
|
16
|
+
require('../chunk-TVLFO27D.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
@@ -29,5 +29,5 @@ var _chunkKORQB2IRcjs = require('../chunk-KORQB2IR.cjs');
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
exports.ActorClientError =
|
|
32
|
+
exports.ActorClientError = _chunkEHZUN5MGcjs.ActorClientError; exports.ActorConnDisposed = _chunkEHZUN5MGcjs.ActorConnDisposed; exports.ActorConnRaw = _chunkEHZUN5MGcjs.ActorConnRaw; exports.ActorError = _chunkKORQB2IRcjs.RivetError; exports.ActorHandleRaw = _chunkEHZUN5MGcjs.ActorHandleRaw; exports.MalformedResponseMessage = _chunkEHZUN5MGcjs.MalformedResponseMessage; exports.ManagerError = _chunkEHZUN5MGcjs.ManagerError; exports.RivetError = _chunkKORQB2IRcjs.RivetError; exports.UserError = _chunkKORQB2IRcjs.UserError; exports.createClient = _chunkRAGKYTA7cjs.createClient;
|
|
33
33
|
//# sourceMappingURL=mod.cjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ax as Registry, _ as Client } from '../config-
|
|
2
|
-
export { b7 as ActorAccessor, b8 as ActorActionFunction, b9 as ActorActionOptions, ba as ActorConn, bb as ActorConnRaw, bc as ActorConnStatus, bd as ActorConnectOptions, r as ActorDefinition, be as ActorGatewayOptions, bf as ActorHandle, bg as ActorHandleRaw, A as AnyActorDefinition, bh as ClientRaw, bi as ConnectionStateCallback, bj as CreateOptions, bk as CreateRequest, a9 as Encoding, bl as EventUnsubscribe, bm as ExtractActorsFromRegistry, bn as ExtractRegistryFromClient, bo as GetOptions, bp as GetWithIdOptions, bq as QueryOptions, br as Region, bs as StatusChangeCallback } from '../config-
|
|
1
|
+
import { ax as Registry, _ as Client } from '../config-CZQQ-mso.cjs';
|
|
2
|
+
export { b7 as ActorAccessor, b8 as ActorActionFunction, b9 as ActorActionOptions, ba as ActorConn, bb as ActorConnRaw, bc as ActorConnStatus, bd as ActorConnectOptions, r as ActorDefinition, be as ActorGatewayOptions, bf as ActorHandle, bg as ActorHandleRaw, A as AnyActorDefinition, bh as ClientRaw, bi as ConnectionStateCallback, bj as CreateOptions, bk as CreateRequest, a9 as Encoding, bl as EventUnsubscribe, bm as ExtractActorsFromRegistry, bn as ExtractRegistryFromClient, bo as GetOptions, bp as GetWithIdOptions, bq as QueryOptions, br as Region, bs as StatusChangeCallback } from '../config-CZQQ-mso.cjs';
|
|
3
3
|
import z from 'zod/v4';
|
|
4
4
|
import { GetUpgradeWebSocket } from '../utils.cjs';
|
|
5
|
-
export { R as ActorError, R as RivetError, U as UserError } from '../utils-
|
|
5
|
+
export { R as ActorError, R as RivetError, U as UserError } from '../utils-DQosb24I.cjs';
|
|
6
6
|
import '../config-D49x8NpL.cjs';
|
|
7
7
|
import '@rivetkit/rivetkit-wasm';
|
|
8
8
|
import 'zod';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ax as Registry, _ as Client } from '../config-
|
|
2
|
-
export { b7 as ActorAccessor, b8 as ActorActionFunction, b9 as ActorActionOptions, ba as ActorConn, bb as ActorConnRaw, bc as ActorConnStatus, bd as ActorConnectOptions, r as ActorDefinition, be as ActorGatewayOptions, bf as ActorHandle, bg as ActorHandleRaw, A as AnyActorDefinition, bh as ClientRaw, bi as ConnectionStateCallback, bj as CreateOptions, bk as CreateRequest, a9 as Encoding, bl as EventUnsubscribe, bm as ExtractActorsFromRegistry, bn as ExtractRegistryFromClient, bo as GetOptions, bp as GetWithIdOptions, bq as QueryOptions, br as Region, bs as StatusChangeCallback } from '../config-
|
|
1
|
+
import { ax as Registry, _ as Client } from '../config-BxWAw3iH.js';
|
|
2
|
+
export { b7 as ActorAccessor, b8 as ActorActionFunction, b9 as ActorActionOptions, ba as ActorConn, bb as ActorConnRaw, bc as ActorConnStatus, bd as ActorConnectOptions, r as ActorDefinition, be as ActorGatewayOptions, bf as ActorHandle, bg as ActorHandleRaw, A as AnyActorDefinition, bh as ClientRaw, bi as ConnectionStateCallback, bj as CreateOptions, bk as CreateRequest, a9 as Encoding, bl as EventUnsubscribe, bm as ExtractActorsFromRegistry, bn as ExtractRegistryFromClient, bo as GetOptions, bp as GetWithIdOptions, bq as QueryOptions, br as Region, bs as StatusChangeCallback } from '../config-BxWAw3iH.js';
|
|
3
3
|
import z from 'zod/v4';
|
|
4
4
|
import { GetUpgradeWebSocket } from '../utils.js';
|
|
5
|
-
export { R as ActorError, R as RivetError, U as UserError } from '../utils-
|
|
5
|
+
export { R as ActorError, R as RivetError, U as UserError } from '../utils-DQosb24I.js';
|
|
6
6
|
import '../config-D49x8NpL.js';
|
|
7
7
|
import '@rivetkit/rivetkit-wasm';
|
|
8
8
|
import 'zod';
|
package/dist/tsup/client/mod.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createClient
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-SQIH25ZX.js";
|
|
4
4
|
import {
|
|
5
5
|
ActorClientError,
|
|
6
6
|
ActorConnDisposed,
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
ActorHandleRaw,
|
|
9
9
|
MalformedResponseMessage,
|
|
10
10
|
ManagerError
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-V7XWYC4T.js";
|
|
12
12
|
import "../chunk-HXUEHHJF.js";
|
|
13
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-ECFRAMQD.js";
|
|
14
14
|
import "../chunk-JZ7TWV65.js";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-L7POWJNK.js";
|
|
16
|
+
import "../chunk-IGJMQRB4.js";
|
|
17
17
|
import {
|
|
18
18
|
RivetError,
|
|
19
19
|
UserError
|
package/dist/tsup/common/log.cjs
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkTVLFO27Dcjs = require('../chunk-TVLFO27D.cjs');
|
|
10
10
|
require('../chunk-KORQB2IR.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
@@ -16,5 +16,5 @@ require('../chunk-KORQB2IR.cjs');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
exports.LogLevelSchema =
|
|
19
|
+
exports.LogLevelSchema = _chunkTVLFO27Dcjs.LogLevelSchema; exports.configureBaseLogger = _chunkTVLFO27Dcjs.configureBaseLogger; exports.configureDefaultLogger = _chunkTVLFO27Dcjs.configureDefaultLogger; exports.getBaseLogger = _chunkTVLFO27Dcjs.getBaseLogger; exports.getIncludeTarget = _chunkTVLFO27Dcjs.getIncludeTarget; exports.getLogger = _chunkTVLFO27Dcjs.getLogger; exports.getPinoLevel = _chunkTVLFO27Dcjs.getPinoLevel;
|
|
20
20
|
//# 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 _chunkTT4OKZXCcjs = require('../chunk-TT4OKZXC.cjs');
|
|
4
|
+
require('../chunk-TVLFO27D.cjs');
|
|
5
5
|
require('../chunk-KORQB2IR.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.importWebSocket =
|
|
8
|
+
exports.importWebSocket = _chunkTT4OKZXCcjs.importWebSocket;
|
|
9
9
|
//# sourceMappingURL=websocket.cjs.map
|
|
@@ -7,7 +7,7 @@ import { UniversalWebSocket } from '@rivetkit/virtual-websocket';
|
|
|
7
7
|
import { StandardSchemaV1 } from '@standard-schema/spec';
|
|
8
8
|
import { Context, Hono } from 'hono';
|
|
9
9
|
import { GetUpgradeWebSocket } from './utils.js';
|
|
10
|
-
import { R as RivetError } from './utils-
|
|
10
|
+
import { R as RivetError } from './utils-DQosb24I.js';
|
|
11
11
|
|
|
12
12
|
declare const ActorKeySchema: z.ZodArray<z.ZodString>;
|
|
13
13
|
type ActorKey = z.infer<typeof ActorKeySchema>;
|
|
@@ -167,6 +167,8 @@ declare const RegistryConfigSchema: z$1.ZodPipe<z$1.ZodObject<{
|
|
|
167
167
|
httpPort: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
168
168
|
httpHost: z$1.ZodOptional<z$1.ZodString>;
|
|
169
169
|
startEngine: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
170
|
+
engineHost: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodString>>;
|
|
171
|
+
enginePort: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
170
172
|
engineVersion: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodString>>;
|
|
171
173
|
configurePool: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodObject<{
|
|
172
174
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -232,6 +234,8 @@ declare const RegistryConfigSchema: z$1.ZodPipe<z$1.ZodObject<{
|
|
|
232
234
|
httpBasePath: string;
|
|
233
235
|
httpPort: number;
|
|
234
236
|
startEngine: boolean;
|
|
237
|
+
engineHost: string;
|
|
238
|
+
enginePort: number;
|
|
235
239
|
engineVersion: string;
|
|
236
240
|
envoy: {
|
|
237
241
|
poolName: string;
|
|
@@ -283,6 +287,8 @@ declare const RegistryConfigSchema: z$1.ZodPipe<z$1.ZodObject<{
|
|
|
283
287
|
httpBasePath: string;
|
|
284
288
|
httpPort: number;
|
|
285
289
|
startEngine: boolean;
|
|
290
|
+
engineHost: string;
|
|
291
|
+
enginePort: number;
|
|
286
292
|
engineVersion: string;
|
|
287
293
|
serverless: {
|
|
288
294
|
basePath: string;
|
|
@@ -742,6 +748,8 @@ interface RuntimeServeConfig {
|
|
|
742
748
|
namespace: string;
|
|
743
749
|
poolName: string;
|
|
744
750
|
engineBinaryPath?: string;
|
|
751
|
+
engineHost?: string;
|
|
752
|
+
enginePort?: number;
|
|
745
753
|
handleInspectorHttpInRuntime?: boolean;
|
|
746
754
|
inspectorTestToken?: string;
|
|
747
755
|
serverlessBasePath?: string;
|
|
@@ -1554,6 +1562,10 @@ type ActorKvListOptions<T extends ActorKvValueType = "text", K extends ActorKvKe
|
|
|
1554
1562
|
limit?: number;
|
|
1555
1563
|
};
|
|
1556
1564
|
type ActorClientFor<T> = T extends Registry<any> ? Client<T> : T;
|
|
1565
|
+
/**
|
|
1566
|
+
* @deprecated Actor KV is deprecated. Use embedded SQLite (`c.db` / `c.sql`)
|
|
1567
|
+
* or actor state instead.
|
|
1568
|
+
*/
|
|
1557
1569
|
interface ActorKv {
|
|
1558
1570
|
get<T extends ActorKvValueType = "text">(key: Uint8Array | string, options?: ActorKvValueOptions<T>): Promise<ActorKvValueTypeMap[T] | null>;
|
|
1559
1571
|
put<T extends ActorKvValueType = "text">(key: Uint8Array | string, value: Uint8Array | string | ArrayBuffer, options?: ActorKvValueOptions<T>): Promise<void>;
|
|
@@ -1652,6 +1664,10 @@ interface ActorContext<TState, TConnParams, TConnState, TVars, TInput, TDatabase
|
|
|
1652
1664
|
[RAW_STATE_SYMBOL](): TState;
|
|
1653
1665
|
state: TState;
|
|
1654
1666
|
vars: TVars;
|
|
1667
|
+
/**
|
|
1668
|
+
* @deprecated Actor KV is deprecated. Use embedded SQLite (`db` / `sql`)
|
|
1669
|
+
* or actor state instead.
|
|
1670
|
+
*/
|
|
1655
1671
|
readonly kv: ActorKv;
|
|
1656
1672
|
readonly db: InferDatabaseClient<TDatabase>;
|
|
1657
1673
|
readonly schedule: ActorSchedule;
|
|
@@ -7,7 +7,7 @@ import { UniversalWebSocket } from '@rivetkit/virtual-websocket';
|
|
|
7
7
|
import { StandardSchemaV1 } from '@standard-schema/spec';
|
|
8
8
|
import { Context, Hono } from 'hono';
|
|
9
9
|
import { GetUpgradeWebSocket } from './utils.cjs';
|
|
10
|
-
import { R as RivetError } from './utils-
|
|
10
|
+
import { R as RivetError } from './utils-DQosb24I.cjs';
|
|
11
11
|
|
|
12
12
|
declare const ActorKeySchema: z.ZodArray<z.ZodString>;
|
|
13
13
|
type ActorKey = z.infer<typeof ActorKeySchema>;
|
|
@@ -167,6 +167,8 @@ declare const RegistryConfigSchema: z$1.ZodPipe<z$1.ZodObject<{
|
|
|
167
167
|
httpPort: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
168
168
|
httpHost: z$1.ZodOptional<z$1.ZodString>;
|
|
169
169
|
startEngine: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
170
|
+
engineHost: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodString>>;
|
|
171
|
+
enginePort: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
170
172
|
engineVersion: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodString>>;
|
|
171
173
|
configurePool: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodObject<{
|
|
172
174
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -232,6 +234,8 @@ declare const RegistryConfigSchema: z$1.ZodPipe<z$1.ZodObject<{
|
|
|
232
234
|
httpBasePath: string;
|
|
233
235
|
httpPort: number;
|
|
234
236
|
startEngine: boolean;
|
|
237
|
+
engineHost: string;
|
|
238
|
+
enginePort: number;
|
|
235
239
|
engineVersion: string;
|
|
236
240
|
envoy: {
|
|
237
241
|
poolName: string;
|
|
@@ -283,6 +287,8 @@ declare const RegistryConfigSchema: z$1.ZodPipe<z$1.ZodObject<{
|
|
|
283
287
|
httpBasePath: string;
|
|
284
288
|
httpPort: number;
|
|
285
289
|
startEngine: boolean;
|
|
290
|
+
engineHost: string;
|
|
291
|
+
enginePort: number;
|
|
286
292
|
engineVersion: string;
|
|
287
293
|
serverless: {
|
|
288
294
|
basePath: string;
|
|
@@ -742,6 +748,8 @@ interface RuntimeServeConfig {
|
|
|
742
748
|
namespace: string;
|
|
743
749
|
poolName: string;
|
|
744
750
|
engineBinaryPath?: string;
|
|
751
|
+
engineHost?: string;
|
|
752
|
+
enginePort?: number;
|
|
745
753
|
handleInspectorHttpInRuntime?: boolean;
|
|
746
754
|
inspectorTestToken?: string;
|
|
747
755
|
serverlessBasePath?: string;
|
|
@@ -1554,6 +1562,10 @@ type ActorKvListOptions<T extends ActorKvValueType = "text", K extends ActorKvKe
|
|
|
1554
1562
|
limit?: number;
|
|
1555
1563
|
};
|
|
1556
1564
|
type ActorClientFor<T> = T extends Registry<any> ? Client<T> : T;
|
|
1565
|
+
/**
|
|
1566
|
+
* @deprecated Actor KV is deprecated. Use embedded SQLite (`c.db` / `c.sql`)
|
|
1567
|
+
* or actor state instead.
|
|
1568
|
+
*/
|
|
1557
1569
|
interface ActorKv {
|
|
1558
1570
|
get<T extends ActorKvValueType = "text">(key: Uint8Array | string, options?: ActorKvValueOptions<T>): Promise<ActorKvValueTypeMap[T] | null>;
|
|
1559
1571
|
put<T extends ActorKvValueType = "text">(key: Uint8Array | string, value: Uint8Array | string | ArrayBuffer, options?: ActorKvValueOptions<T>): Promise<void>;
|
|
@@ -1652,6 +1664,10 @@ interface ActorContext<TState, TConnParams, TConnState, TVars, TInput, TDatabase
|
|
|
1652
1664
|
[RAW_STATE_SYMBOL](): TState;
|
|
1653
1665
|
state: TState;
|
|
1654
1666
|
vars: TVars;
|
|
1667
|
+
/**
|
|
1668
|
+
* @deprecated Actor KV is deprecated. Use embedded SQLite (`db` / `sql`)
|
|
1669
|
+
* or actor state instead.
|
|
1670
|
+
*/
|
|
1655
1671
|
readonly kv: ActorKv;
|
|
1656
1672
|
readonly db: InferDatabaseClient<TDatabase>;
|
|
1657
1673
|
readonly schedule: ActorSchedule;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AnyActorDefinition, B as BaseActorDefinition, E as EventSchemaConfig, Q as QueueSchemaConfig, h as RunContext, al as QueueFilterName, aq as QueueNextOptions, ar as QueueResultMessageForName, ap as QueueNextBatchOptions, bt as InferSchemaMap, ax as Registry, _ as Client, w as ActorLogger, bu as InferEventArgs } from './config-
|
|
1
|
+
import { A as AnyActorDefinition, B as BaseActorDefinition, E as EventSchemaConfig, Q as QueueSchemaConfig, h as RunContext, al as QueueFilterName, aq as QueueNextOptions, ar as QueueResultMessageForName, ap as QueueNextBatchOptions, bt as InferSchemaMap, ax as Registry, _ as Client, w as ActorLogger, bu as InferEventArgs } from './config-CZQQ-mso.cjs';
|
|
2
2
|
import { WorkflowContextInterface, StepConfig, TryStepConfig, TryStepResult, TryBlockResult, LoopResult, LoopConfig, BranchConfig, BranchOutput, EntryKindType } from '@rivetkit/workflow-engine';
|
|
3
3
|
import { A as AnyDatabaseProvider, I as InferDatabaseClient } from './config-D49x8NpL.cjs';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AnyActorDefinition, B as BaseActorDefinition, E as EventSchemaConfig, Q as QueueSchemaConfig, h as RunContext, al as QueueFilterName, aq as QueueNextOptions, ar as QueueResultMessageForName, ap as QueueNextBatchOptions, bt as InferSchemaMap, ax as Registry, _ as Client, w as ActorLogger, bu as InferEventArgs } from './config-
|
|
1
|
+
import { A as AnyActorDefinition, B as BaseActorDefinition, E as EventSchemaConfig, Q as QueueSchemaConfig, h as RunContext, al as QueueFilterName, aq as QueueNextOptions, ar as QueueResultMessageForName, ap as QueueNextBatchOptions, bt as InferSchemaMap, ax as Registry, _ as Client, w as ActorLogger, bu as InferEventArgs } from './config-BxWAw3iH.js';
|
|
2
2
|
import { WorkflowContextInterface, StepConfig, TryStepConfig, TryStepResult, TryBlockResult, LoopResult, LoopConfig, BranchConfig, BranchOutput, EntryKindType } from '@rivetkit/workflow-engine';
|
|
3
3
|
import { A as AnyDatabaseProvider, I as InferDatabaseClient } from './config-D49x8NpL.js';
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkNIY3RSPXcjs = require('../chunk-NIY3RSPX.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 = _chunkNIY3RSPXcjs.ActorConfigSchema.parse({
|
|
13
13
|
actions: {}
|
|
14
14
|
});
|
|
15
15
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AnyActorDefinition } from '../config-
|
|
1
|
+
import { A as AnyActorDefinition } from '../config-CZQQ-mso.cjs';
|
|
2
2
|
import 'zod/v4';
|
|
3
3
|
import '../config-D49x8NpL.cjs';
|
|
4
4
|
import '@rivetkit/rivetkit-wasm';
|
|
@@ -8,7 +8,7 @@ import '@rivetkit/virtual-websocket';
|
|
|
8
8
|
import '@standard-schema/spec';
|
|
9
9
|
import 'hono';
|
|
10
10
|
import '../utils.cjs';
|
|
11
|
-
import '../utils-
|
|
11
|
+
import '../utils-DQosb24I.cjs';
|
|
12
12
|
import 'hono/utils/http-status';
|
|
13
13
|
|
|
14
14
|
declare const DYNAMIC_ACTOR_DEFINITION_SYMBOL: unique symbol;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AnyActorDefinition } from '../config-
|
|
1
|
+
import { A as AnyActorDefinition } from '../config-BxWAw3iH.js';
|
|
2
2
|
import 'zod/v4';
|
|
3
3
|
import '../config-D49x8NpL.js';
|
|
4
4
|
import '@rivetkit/rivetkit-wasm';
|
|
@@ -8,7 +8,7 @@ import '@rivetkit/virtual-websocket';
|
|
|
8
8
|
import '@standard-schema/spec';
|
|
9
9
|
import 'hono';
|
|
10
10
|
import '../utils.js';
|
|
11
|
-
import '../utils-
|
|
11
|
+
import '../utils-DQosb24I.js';
|
|
12
12
|
import 'hono/utils/http-status';
|
|
13
13
|
|
|
14
14
|
declare const DYNAMIC_ACTOR_DEFINITION_SYMBOL: unique symbol;
|
package/dist/tsup/dynamic/mod.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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 _chunkN3LBY42Mcjs = require('../chunk-N3LBY42M.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('../chunk-
|
|
9
|
-
require('../chunk-
|
|
7
|
+
var _chunkDZQGDGINcjs = require('../chunk-DZQGDGIN.cjs');
|
|
8
|
+
require('../chunk-6VZXVJYZ.cjs');
|
|
9
|
+
require('../chunk-TVLFO27D.cjs');
|
|
10
10
|
require('../chunk-KORQB2IR.cjs');
|
|
11
11
|
|
|
12
12
|
// src/common/bare/generated/inspector/v4.ts
|
|
@@ -761,5 +761,5 @@ function decodeToClient(bytes) {
|
|
|
761
761
|
|
|
762
762
|
|
|
763
763
|
|
|
764
|
-
exports.createWorkflowInspectorAdapter =
|
|
764
|
+
exports.createWorkflowInspectorAdapter = _chunkN3LBY42Mcjs.createWorkflowInspectorAdapter; exports.decodeToClient = decodeToClient; exports.decodeToServer = decodeToServer; exports.decodeWorkflowHistoryTransport = _chunkDZQGDGINcjs.decodeWorkflowHistoryTransport; exports.encodeToClient = encodeToClient; exports.encodeToServer = encodeToServer; exports.encodeWorkflowHistoryTransport = _chunkDZQGDGINcjs.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.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.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;
|
|
765
765
|
//# sourceMappingURL=mod.cjs.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createWorkflowInspectorAdapter
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-J7BFJSYQ.js";
|
|
4
4
|
import {
|
|
5
5
|
decodeWorkflowHistoryTransport,
|
|
6
6
|
encodeWorkflowHistoryTransport
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-2QXFHVEN.js";
|
|
8
|
+
import "../chunk-ECFRAMQD.js";
|
|
9
|
+
import "../chunk-IGJMQRB4.js";
|
|
10
10
|
import "../chunk-BRP62GZC.js";
|
|
11
11
|
|
|
12
12
|
// src/common/bare/generated/inspector/v4.ts
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkNIY3RSPXcjs = require('../chunk-NIY3RSPX.cjs');
|
|
9
9
|
|
|
10
10
|
// src/inspector-tab/mod.ts
|
|
11
11
|
var _zod = require('zod');
|
|
@@ -169,5 +169,5 @@ var InspectorTabConfigResponseSchema = _zod.z.object({
|
|
|
169
169
|
|
|
170
170
|
|
|
171
171
|
|
|
172
|
-
exports.ACTOR_ID_PARAM = ACTOR_ID_PARAM; exports.ActorInspectorConfigSchema =
|
|
172
|
+
exports.ACTOR_ID_PARAM = ACTOR_ID_PARAM; exports.ActorInspectorConfigSchema = _chunkNIY3RSPXcjs.ActorInspectorConfigSchema; exports.BUILTIN_INSPECTOR_TAB_IDS = _chunkNIY3RSPXcjs.BUILTIN_INSPECTOR_TAB_IDS; exports.BuiltinInspectorTabIdSchema = _chunkNIY3RSPXcjs.BuiltinInspectorTabIdSchema; exports.CustomInspectorTabEntrySchema = _chunkNIY3RSPXcjs.CustomInspectorTabEntrySchema; exports.HideInspectorTabEntrySchema = _chunkNIY3RSPXcjs.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.InspectorTabConfigResponseSchema = InspectorTabConfigResponseSchema; exports.InspectorTabDescriptorSchema = InspectorTabDescriptorSchema; exports.InspectorTabEntrySchema = _chunkNIY3RSPXcjs.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;
|
|
173
173
|
//# sourceMappingURL=mod.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { a0 as CustomInspectorTabEntrySchema, ae as HideInspectorTabEntrySchema, af as InspectorTabEntrySchema } from '../config-
|
|
3
|
-
export { s as ActorInspectorConfig, t as ActorInspectorConfigSchema, U as BUILTIN_INSPECTOR_TAB_IDS, X as BuiltinInspectorTabIdSchema } from '../config-
|
|
2
|
+
import { a0 as CustomInspectorTabEntrySchema, ae as HideInspectorTabEntrySchema, af as InspectorTabEntrySchema } from '../config-CZQQ-mso.cjs';
|
|
3
|
+
export { s as ActorInspectorConfig, t as ActorInspectorConfigSchema, U as BUILTIN_INSPECTOR_TAB_IDS, X as BuiltinInspectorTabIdSchema } from '../config-CZQQ-mso.cjs';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../config-D49x8NpL.cjs';
|
|
6
6
|
import '@rivetkit/rivetkit-wasm';
|
|
@@ -9,7 +9,7 @@ import '@rivetkit/virtual-websocket';
|
|
|
9
9
|
import '@standard-schema/spec';
|
|
10
10
|
import 'hono';
|
|
11
11
|
import '../utils.cjs';
|
|
12
|
-
import '../utils-
|
|
12
|
+
import '../utils-DQosb24I.cjs';
|
|
13
13
|
import 'hono/utils/http-status';
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { a0 as CustomInspectorTabEntrySchema, ae as HideInspectorTabEntrySchema, af as InspectorTabEntrySchema } from '../config-
|
|
3
|
-
export { s as ActorInspectorConfig, t as ActorInspectorConfigSchema, U as BUILTIN_INSPECTOR_TAB_IDS, X as BuiltinInspectorTabIdSchema } from '../config-
|
|
2
|
+
import { a0 as CustomInspectorTabEntrySchema, ae as HideInspectorTabEntrySchema, af as InspectorTabEntrySchema } from '../config-BxWAw3iH.js';
|
|
3
|
+
export { s as ActorInspectorConfig, t as ActorInspectorConfigSchema, U as BUILTIN_INSPECTOR_TAB_IDS, X as BuiltinInspectorTabIdSchema } from '../config-BxWAw3iH.js';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../config-D49x8NpL.js';
|
|
6
6
|
import '@rivetkit/rivetkit-wasm';
|
|
@@ -9,7 +9,7 @@ import '@rivetkit/virtual-websocket';
|
|
|
9
9
|
import '@standard-schema/spec';
|
|
10
10
|
import 'hono';
|
|
11
11
|
import '../utils.js';
|
|
12
|
-
import '../utils-
|
|
12
|
+
import '../utils-DQosb24I.js';
|
|
13
13
|
import 'hono/utils/http-status';
|
|
14
14
|
|
|
15
15
|
/**
|