rivetkit 3.0.3 → 3.0.5
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 +8 -0
- package/dist/browser/client.js +1 -1
- package/dist/browser/client.js.map +1 -1
- package/dist/browser/inspector/client.js +1 -1
- package/dist/browser/inspector/client.js.map +1 -1
- package/dist/tsup/{chunk-I4WHG6X3.cjs → chunk-4QY3LBN6.cjs} +3 -3
- package/dist/tsup/{chunk-I4WHG6X3.cjs.map → chunk-4QY3LBN6.cjs.map} +1 -1
- package/dist/tsup/{chunk-UXDASKP6.js → chunk-A7Q5DJ2P.js} +3 -1
- package/dist/tsup/chunk-A7Q5DJ2P.js.map +1 -0
- package/dist/tsup/{chunk-SUU72UBE.cjs → chunk-BY6YFH2K.cjs} +2 -2
- package/dist/tsup/{chunk-SUU72UBE.cjs.map → chunk-BY6YFH2K.cjs.map} +1 -1
- package/dist/tsup/{chunk-UBEFOC6D.cjs → chunk-D3VCNACM.cjs} +7 -7
- package/dist/tsup/{chunk-UBEFOC6D.cjs.map → chunk-D3VCNACM.cjs.map} +1 -1
- package/dist/tsup/{chunk-7UGPT7WZ.cjs → chunk-DL7PKMEP.cjs} +3 -3
- package/dist/tsup/{chunk-7UGPT7WZ.cjs.map → chunk-DL7PKMEP.cjs.map} +1 -1
- package/dist/tsup/{chunk-MD5JLJL3.js → chunk-EC72YM63.js} +2 -2
- package/dist/tsup/{chunk-SSF2XC33.cjs → chunk-INFADXXI.cjs} +3 -1
- package/dist/tsup/chunk-INFADXXI.cjs.map +1 -0
- package/dist/tsup/{chunk-KXQU67B5.js → chunk-MVJLQPWC.js} +2 -2
- package/dist/tsup/{chunk-JHPMLQHW.js → chunk-NEGCEZM6.js} +2 -2
- package/dist/tsup/{chunk-JHPMLQHW.js.map → chunk-NEGCEZM6.js.map} +1 -1
- package/dist/tsup/{chunk-DQTCLK7I.cjs → chunk-NHB4KDZL.cjs} +3 -3
- package/dist/tsup/{chunk-DQTCLK7I.cjs.map → chunk-NHB4KDZL.cjs.map} +1 -1
- package/dist/tsup/{chunk-XLQCNXZ6.js → chunk-NNKSJSMR.js} +3 -3
- package/dist/tsup/{chunk-RZHBGWOL.cjs → chunk-NSDT2GWM.cjs} +144 -144
- package/dist/tsup/{chunk-RZHBGWOL.cjs.map → chunk-NSDT2GWM.cjs.map} +1 -1
- package/dist/tsup/{chunk-PPEFSNNR.cjs → chunk-STFQQWYY.cjs} +4 -4
- package/dist/tsup/{chunk-PPEFSNNR.cjs.map → chunk-STFQQWYY.cjs.map} +1 -1
- package/dist/tsup/{chunk-IFIAM2WX.js → chunk-VJROJMLX.js} +4 -4
- package/dist/tsup/{chunk-NEI2VMRH.cjs → chunk-WIL6MWU4.cjs} +10 -10
- package/dist/tsup/{chunk-NEI2VMRH.cjs.map → chunk-WIL6MWU4.cjs.map} +1 -1
- package/dist/tsup/{chunk-KA2HY475.js → chunk-WNURZU2P.js} +2 -2
- package/dist/tsup/{chunk-JEQKU2GS.js → chunk-XILB6EBK.js} +6 -6
- package/dist/tsup/{chunk-6XKZ4JI7.js → chunk-YPAJANQG.js} +2 -2
- 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-H6pJy_J1.d.cts → config-CM_AlRlT.d.cts} +8 -0
- package/dist/tsup/{config-BtUHYdoj.d.ts → config-DcUqgwcz.d.ts} +8 -0
- package/dist/tsup/{context-TWrKZjqf.d.cts → context-1BFHhiTs.d.cts} +1 -1
- package/dist/tsup/{context-DrDoMXSD.d.ts → context-Bws3ikEx.d.ts} +1 -1
- package/dist/tsup/db/drizzle.cjs +2 -2
- package/dist/tsup/db/drizzle.js +1 -1
- package/dist/tsup/db/mod.cjs +3 -3
- package/dist/tsup/db/mod.js +2 -2
- package/dist/tsup/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 +5 -5
- package/dist/tsup/inspector/mod.js +4 -4
- package/dist/tsup/inspector/workflow.cjs +4 -4
- package/dist/tsup/inspector/workflow.js +3 -3
- package/dist/tsup/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 +109 -109
- 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 +6 -6
- package/dist/tsup/test/mod.cjs +6 -6
- package/dist/tsup/test/mod.d.cts +1 -1
- package/dist/tsup/test/mod.d.ts +1 -1
- package/dist/tsup/test/mod.js +4 -4
- package/dist/tsup/utils.cjs +2 -2
- package/dist/tsup/utils.js +1 -1
- package/dist/tsup/workflow/mod.cjs +10 -10
- package/dist/tsup/workflow/mod.d.cts +3 -3
- package/dist/tsup/workflow/mod.d.ts +3 -3
- package/dist/tsup/workflow/mod.js +5 -5
- package/package.json +9 -9
- package/src/actor/config.ts +16 -2
- package/dist/tsup/chunk-SSF2XC33.cjs.map +0 -1
- package/dist/tsup/chunk-UXDASKP6.js.map +0 -1
- /package/dist/tsup/{chunk-MD5JLJL3.js.map → chunk-EC72YM63.js.map} +0 -0
- /package/dist/tsup/{chunk-KXQU67B5.js.map → chunk-MVJLQPWC.js.map} +0 -0
- /package/dist/tsup/{chunk-XLQCNXZ6.js.map → chunk-NNKSJSMR.js.map} +0 -0
- /package/dist/tsup/{chunk-IFIAM2WX.js.map → chunk-VJROJMLX.js.map} +0 -0
- /package/dist/tsup/{chunk-KA2HY475.js.map → chunk-WNURZU2P.js.map} +0 -0
- /package/dist/tsup/{chunk-JEQKU2GS.js.map → chunk-XILB6EBK.js.map} +0 -0
- /package/dist/tsup/{chunk-6XKZ4JI7.js.map → chunk-YPAJANQG.js.map} +0 -0
|
@@ -2051,6 +2051,7 @@ interface ActorQueue<TQueues extends QueueSchemaConfig = Record<never, never>> {
|
|
|
2051
2051
|
interface Conn<_TState = unknown, TConnParams = unknown, TConnState = unknown, _TVars = unknown, _TInput = unknown, _TDatabase extends AnyDatabaseProvider = AnyDatabaseProvider, _TEvents extends EventSchemaConfig = Record<never, never>, _TQueues extends QueueSchemaConfig = Record<never, never>> {
|
|
2052
2052
|
id: string;
|
|
2053
2053
|
params: TConnParams;
|
|
2054
|
+
/** @deprecated Connection state is deprecated and will be removed in a future version. Track live connections in `c.vars` from `onConnect` and `onDisconnect`, and store durable per-connection data in SQLite. See https://rivet.dev/actors/docs/deprecated/state#connection-state */
|
|
2054
2055
|
state: TConnState;
|
|
2055
2056
|
isHibernatable: boolean;
|
|
2056
2057
|
send(name: string, ...args: any[]): void;
|
|
@@ -2062,6 +2063,7 @@ interface ActorContext<TState, TConnParams, TConnState, TVars, TInput, TDatabase
|
|
|
2062
2063
|
[ACTOR_CONTEXT_INTERNAL_SYMBOL]?: unknown;
|
|
2063
2064
|
/** Returns the raw unwrapped state without the write-through proxy. */
|
|
2064
2065
|
[RAW_STATE_SYMBOL](): TState;
|
|
2066
|
+
/** @deprecated Actor state is deprecated and will be removed in a future version. Store durable data in SQLite (`c.db`) and in-memory data in `c.vars`. See https://rivet.dev/actors/docs/deprecated/state */
|
|
2065
2067
|
state: TState;
|
|
2066
2068
|
vars: TVars;
|
|
2067
2069
|
/**
|
|
@@ -2091,6 +2093,7 @@ interface ActorContext<TState, TConnParams, TConnState, TVars, TInput, TDatabase
|
|
|
2091
2093
|
/** @deprecated No-op. Always returns `false`. Use `keepAwake(promise)` or `waitUntil(promise)` instead. Will be removed in 2.2.0. */
|
|
2092
2094
|
readonly preventSleep: boolean;
|
|
2093
2095
|
broadcast(name: string, ...args: any[]): void;
|
|
2096
|
+
/** @deprecated Actor state is deprecated and will be removed in a future version. Store durable data in SQLite (`c.db`) and in-memory data in `c.vars`. See https://rivet.dev/actors/docs/deprecated/state */
|
|
2094
2097
|
saveState(opts?: {
|
|
2095
2098
|
immediate?: boolean;
|
|
2096
2099
|
maxWait?: number;
|
|
@@ -2484,13 +2487,17 @@ declare const ActorConfigSchema: z.ZodObject<{
|
|
|
2484
2487
|
}, z.core.$strict>>;
|
|
2485
2488
|
}, z.core.$strict>;
|
|
2486
2489
|
type CreateState<TState, _TConnParams, _TConnState, _TVars, TInput, TDatabase extends AnyDatabaseProvider, TEvents extends EventSchemaConfig, TQueues extends QueueSchemaConfig> = {
|
|
2490
|
+
/** @deprecated Actor state is deprecated and will be removed in a future version. Store durable data in SQLite (`c.db`) and in-memory data in `c.vars`. See https://rivet.dev/actors/docs/deprecated/state */
|
|
2487
2491
|
state: TState;
|
|
2488
2492
|
} | {
|
|
2493
|
+
/** @deprecated Actor state is deprecated and will be removed in a future version. Store durable data in SQLite (`c.db`) and in-memory data in `c.vars`. See https://rivet.dev/actors/docs/deprecated/state */
|
|
2489
2494
|
createState: (c: CreateContext<TState, TInput, TDatabase, TEvents, TQueues>, input: TInput) => TState | Promise<TState>;
|
|
2490
2495
|
} | Record<never, never>;
|
|
2491
2496
|
type CreateConnState<TState, TConnParams, TConnState, TVars, TInput, TDatabase extends AnyDatabaseProvider, TEvents extends EventSchemaConfig, TQueues extends QueueSchemaConfig> = {
|
|
2497
|
+
/** @deprecated Connection state is deprecated and will be removed in a future version. Track live connections in `c.vars` from `onConnect` and `onDisconnect`, and store durable per-connection data in SQLite. See https://rivet.dev/actors/docs/deprecated/state#connection-state */
|
|
2492
2498
|
connState: TConnState;
|
|
2493
2499
|
} | {
|
|
2500
|
+
/** @deprecated Connection state is deprecated and will be removed in a future version. Track live connections in `c.vars` from `onConnect` and `onDisconnect`, and store durable per-connection data in SQLite. See https://rivet.dev/actors/docs/deprecated/state#connection-state */
|
|
2494
2501
|
createConnState: (c: CreateConnStateContext<TState, TVars, TInput, TDatabase, TEvents, TQueues>, params: TConnParams) => TConnState | Promise<TConnState>;
|
|
2495
2502
|
} | Record<never, never>;
|
|
2496
2503
|
/**
|
|
@@ -2594,6 +2601,7 @@ interface BaseActorConfig<TState, TConnParams, TConnState, TVars, TInput, TDatab
|
|
|
2594
2601
|
* another onStateChange call, preventing infinite recursion.
|
|
2595
2602
|
*
|
|
2596
2603
|
* @param newState The updated state
|
|
2604
|
+
* @deprecated Actor state is deprecated and will be removed in a future version. Store durable data in SQLite (`c.db`) and in-memory data in `c.vars`. See https://rivet.dev/actors/docs/deprecated/state
|
|
2597
2605
|
*/
|
|
2598
2606
|
onStateChange?: (c: StateChangeContext<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues>, newState: TState) => void;
|
|
2599
2607
|
/**
|
|
@@ -2051,6 +2051,7 @@ interface ActorQueue<TQueues extends QueueSchemaConfig = Record<never, never>> {
|
|
|
2051
2051
|
interface Conn<_TState = unknown, TConnParams = unknown, TConnState = unknown, _TVars = unknown, _TInput = unknown, _TDatabase extends AnyDatabaseProvider = AnyDatabaseProvider, _TEvents extends EventSchemaConfig = Record<never, never>, _TQueues extends QueueSchemaConfig = Record<never, never>> {
|
|
2052
2052
|
id: string;
|
|
2053
2053
|
params: TConnParams;
|
|
2054
|
+
/** @deprecated Connection state is deprecated and will be removed in a future version. Track live connections in `c.vars` from `onConnect` and `onDisconnect`, and store durable per-connection data in SQLite. See https://rivet.dev/actors/docs/deprecated/state#connection-state */
|
|
2054
2055
|
state: TConnState;
|
|
2055
2056
|
isHibernatable: boolean;
|
|
2056
2057
|
send(name: string, ...args: any[]): void;
|
|
@@ -2062,6 +2063,7 @@ interface ActorContext<TState, TConnParams, TConnState, TVars, TInput, TDatabase
|
|
|
2062
2063
|
[ACTOR_CONTEXT_INTERNAL_SYMBOL]?: unknown;
|
|
2063
2064
|
/** Returns the raw unwrapped state without the write-through proxy. */
|
|
2064
2065
|
[RAW_STATE_SYMBOL](): TState;
|
|
2066
|
+
/** @deprecated Actor state is deprecated and will be removed in a future version. Store durable data in SQLite (`c.db`) and in-memory data in `c.vars`. See https://rivet.dev/actors/docs/deprecated/state */
|
|
2065
2067
|
state: TState;
|
|
2066
2068
|
vars: TVars;
|
|
2067
2069
|
/**
|
|
@@ -2091,6 +2093,7 @@ interface ActorContext<TState, TConnParams, TConnState, TVars, TInput, TDatabase
|
|
|
2091
2093
|
/** @deprecated No-op. Always returns `false`. Use `keepAwake(promise)` or `waitUntil(promise)` instead. Will be removed in 2.2.0. */
|
|
2092
2094
|
readonly preventSleep: boolean;
|
|
2093
2095
|
broadcast(name: string, ...args: any[]): void;
|
|
2096
|
+
/** @deprecated Actor state is deprecated and will be removed in a future version. Store durable data in SQLite (`c.db`) and in-memory data in `c.vars`. See https://rivet.dev/actors/docs/deprecated/state */
|
|
2094
2097
|
saveState(opts?: {
|
|
2095
2098
|
immediate?: boolean;
|
|
2096
2099
|
maxWait?: number;
|
|
@@ -2484,13 +2487,17 @@ declare const ActorConfigSchema: z.ZodObject<{
|
|
|
2484
2487
|
}, z.core.$strict>>;
|
|
2485
2488
|
}, z.core.$strict>;
|
|
2486
2489
|
type CreateState<TState, _TConnParams, _TConnState, _TVars, TInput, TDatabase extends AnyDatabaseProvider, TEvents extends EventSchemaConfig, TQueues extends QueueSchemaConfig> = {
|
|
2490
|
+
/** @deprecated Actor state is deprecated and will be removed in a future version. Store durable data in SQLite (`c.db`) and in-memory data in `c.vars`. See https://rivet.dev/actors/docs/deprecated/state */
|
|
2487
2491
|
state: TState;
|
|
2488
2492
|
} | {
|
|
2493
|
+
/** @deprecated Actor state is deprecated and will be removed in a future version. Store durable data in SQLite (`c.db`) and in-memory data in `c.vars`. See https://rivet.dev/actors/docs/deprecated/state */
|
|
2489
2494
|
createState: (c: CreateContext<TState, TInput, TDatabase, TEvents, TQueues>, input: TInput) => TState | Promise<TState>;
|
|
2490
2495
|
} | Record<never, never>;
|
|
2491
2496
|
type CreateConnState<TState, TConnParams, TConnState, TVars, TInput, TDatabase extends AnyDatabaseProvider, TEvents extends EventSchemaConfig, TQueues extends QueueSchemaConfig> = {
|
|
2497
|
+
/** @deprecated Connection state is deprecated and will be removed in a future version. Track live connections in `c.vars` from `onConnect` and `onDisconnect`, and store durable per-connection data in SQLite. See https://rivet.dev/actors/docs/deprecated/state#connection-state */
|
|
2492
2498
|
connState: TConnState;
|
|
2493
2499
|
} | {
|
|
2500
|
+
/** @deprecated Connection state is deprecated and will be removed in a future version. Track live connections in `c.vars` from `onConnect` and `onDisconnect`, and store durable per-connection data in SQLite. See https://rivet.dev/actors/docs/deprecated/state#connection-state */
|
|
2494
2501
|
createConnState: (c: CreateConnStateContext<TState, TVars, TInput, TDatabase, TEvents, TQueues>, params: TConnParams) => TConnState | Promise<TConnState>;
|
|
2495
2502
|
} | Record<never, never>;
|
|
2496
2503
|
/**
|
|
@@ -2594,6 +2601,7 @@ interface BaseActorConfig<TState, TConnParams, TConnState, TVars, TInput, TDatab
|
|
|
2594
2601
|
* another onStateChange call, preventing infinite recursion.
|
|
2595
2602
|
*
|
|
2596
2603
|
* @param newState The updated state
|
|
2604
|
+
* @deprecated Actor state is deprecated and will be removed in a future version. Store durable data in SQLite (`c.db`) and in-memory data in `c.vars`. See https://rivet.dev/actors/docs/deprecated/state
|
|
2597
2605
|
*/
|
|
2598
2606
|
onStateChange?: (c: StateChangeContext<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues>, newState: TState) => void;
|
|
2599
2607
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AnyActorDefinition, B as BaseActorDefinition, E as EventSchemaConfig, Q as QueueSchemaConfig, h as RunContext, H as ActorLogger, ax as QueueFilterName, aC as QueueNextOptions, aD as QueueResultMessageForName, aB as QueueNextBatchOptions, aI as Registry, a6 as Client, ap as InferEventArgs, aq as InferSchemaMap } from './config-
|
|
1
|
+
import { A as AnyActorDefinition, B as BaseActorDefinition, E as EventSchemaConfig, Q as QueueSchemaConfig, h as RunContext, H as ActorLogger, ax as QueueFilterName, aC as QueueNextOptions, aD as QueueResultMessageForName, aB as QueueNextBatchOptions, aI as Registry, a6 as Client, ap as InferEventArgs, aq as InferSchemaMap } from './config-CM_AlRlT.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-CBTr4IhE.cjs';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AnyActorDefinition, B as BaseActorDefinition, E as EventSchemaConfig, Q as QueueSchemaConfig, h as RunContext, H as ActorLogger, ax as QueueFilterName, aC as QueueNextOptions, aD as QueueResultMessageForName, aB as QueueNextBatchOptions, aI as Registry, a6 as Client, ap as InferEventArgs, aq as InferSchemaMap } from './config-
|
|
1
|
+
import { A as AnyActorDefinition, B as BaseActorDefinition, E as EventSchemaConfig, Q as QueueSchemaConfig, h as RunContext, H as ActorLogger, ax as QueueFilterName, aC as QueueNextOptions, aD as QueueResultMessageForName, aB as QueueNextBatchOptions, aI as Registry, a6 as Client, ap as InferEventArgs, aq as InferSchemaMap } from './config-DcUqgwcz.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-CBTr4IhE.js';
|
|
4
4
|
|
package/dist/tsup/db/drizzle.cjs
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
var _chunkKVFIONKQcjs = require('../chunk-KVFIONKQ.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkBY6YFH2Kcjs = require('../chunk-BY6YFH2K.cjs');
|
|
11
11
|
require('../chunk-MGI2VVF6.cjs');
|
|
12
12
|
|
|
13
13
|
// src/db/drizzle.ts
|
|
@@ -164,7 +164,7 @@ function db({
|
|
|
164
164
|
return;
|
|
165
165
|
}
|
|
166
166
|
manualTransactionWarned = true;
|
|
167
|
-
|
|
167
|
+
_chunkBY6YFH2Kcjs.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 _chunkDL7PKMEPcjs = require('../chunk-DL7PKMEP.cjs');
|
|
4
4
|
require('../chunk-KVFIONKQ.cjs');
|
|
5
|
-
require('../chunk-
|
|
5
|
+
require('../chunk-BY6YFH2K.cjs');
|
|
6
6
|
require('../chunk-MGI2VVF6.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.db =
|
|
9
|
+
exports.db = _chunkDL7PKMEPcjs.db;
|
|
10
10
|
//# sourceMappingURL=mod.cjs.map
|
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 _chunkINFADXXIcjs = require('../chunk-INFADXXI.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 = _chunkINFADXXIcjs.ActorConfigSchema.parse({
|
|
13
13
|
actions: {}
|
|
14
14
|
});
|
|
15
15
|
return {
|
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
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkWIL6MWU4cjs = require('../chunk-WIL6MWU4.cjs');
|
|
4
|
+
require('../chunk-4QY3LBN6.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
require('../chunk-
|
|
8
|
+
var _chunkSTFQQWYYcjs = require('../chunk-STFQQWYY.cjs');
|
|
9
|
+
require('../chunk-BY6YFH2K.cjs');
|
|
10
10
|
require('../chunk-MGI2VVF6.cjs');
|
|
11
11
|
|
|
12
12
|
// src/common/bare/generated/inspector/v5.ts
|
|
@@ -796,5 +796,5 @@ function decodeToClient(bytes) {
|
|
|
796
796
|
|
|
797
797
|
|
|
798
798
|
|
|
799
|
-
exports.createWorkflowInspectorAdapter =
|
|
799
|
+
exports.createWorkflowInspectorAdapter = _chunkWIL6MWU4cjs.createWorkflowInspectorAdapter; exports.decodeToClient = decodeToClient; exports.decodeToServer = decodeToServer; exports.decodeWorkflowHistoryTransport = _chunkSTFQQWYYcjs.decodeWorkflowHistoryTransport; exports.encodeToClient = encodeToClient; exports.encodeToServer = encodeToServer; exports.encodeWorkflowHistoryTransport = _chunkSTFQQWYYcjs.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;
|
|
800
800
|
//# sourceMappingURL=mod.cjs.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createWorkflowInspectorAdapter
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-VJROJMLX.js";
|
|
4
|
+
import "../chunk-YPAJANQG.js";
|
|
5
5
|
import {
|
|
6
6
|
decodeWorkflowHistoryTransport,
|
|
7
7
|
encodeWorkflowHistoryTransport
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-EC72YM63.js";
|
|
9
|
+
import "../chunk-NEGCEZM6.js";
|
|
10
10
|
import "../chunk-ZOVJDAOW.js";
|
|
11
11
|
|
|
12
12
|
// src/common/bare/generated/inspector/v5.ts
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk4QY3LBN6cjs = require('../chunk-4QY3LBN6.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
11
|
-
require('../chunk-
|
|
10
|
+
var _chunkSTFQQWYYcjs = require('../chunk-STFQQWYY.cjs');
|
|
11
|
+
require('../chunk-BY6YFH2K.cjs');
|
|
12
12
|
require('../chunk-MGI2VVF6.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
@@ -17,5 +17,5 @@ require('../chunk-MGI2VVF6.cjs');
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
exports.WorkflowBranchStatusType =
|
|
20
|
+
exports.WorkflowBranchStatusType = _chunkSTFQQWYYcjs.WorkflowBranchStatusType; exports.WorkflowEntryStatus = _chunkSTFQQWYYcjs.WorkflowEntryStatus; exports.WorkflowSleepState = _chunkSTFQQWYYcjs.WorkflowSleepState; exports.decodeWorkflowHistoryTransport = _chunkSTFQQWYYcjs.decodeWorkflowHistoryTransport; exports.encodeWorkflowHistoryTransport = _chunkSTFQQWYYcjs.encodeWorkflowHistoryTransport; exports.encodeWorkflowInspectorValue = _chunk4QY3LBN6cjs.encodeWorkflowInspectorValue;
|
|
21
21
|
//# sourceMappingURL=workflow.cjs.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
encodeWorkflowInspectorValue
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-YPAJANQG.js";
|
|
4
4
|
import {
|
|
5
5
|
WorkflowBranchStatusType,
|
|
6
6
|
WorkflowEntryStatus,
|
|
7
7
|
WorkflowSleepState,
|
|
8
8
|
decodeWorkflowHistoryTransport,
|
|
9
9
|
encodeWorkflowHistoryTransport
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-EC72YM63.js";
|
|
11
|
+
import "../chunk-NEGCEZM6.js";
|
|
12
12
|
import "../chunk-ZOVJDAOW.js";
|
|
13
13
|
export {
|
|
14
14
|
WorkflowBranchStatusType,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkINFADXXIcjs = require('../chunk-INFADXXI.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 = _chunkINFADXXIcjs.ActorInspectorConfigSchema; exports.BUILTIN_INSPECTOR_TAB_IDS = _chunkINFADXXIcjs.BUILTIN_INSPECTOR_TAB_IDS; exports.BuiltinInspectorTabIdSchema = _chunkINFADXXIcjs.BuiltinInspectorTabIdSchema; exports.CustomInspectorTabEntrySchema = _chunkINFADXXIcjs.CustomInspectorTabEntrySchema; exports.HideInspectorTabEntrySchema = _chunkINFADXXIcjs.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 = _chunkINFADXXIcjs.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 { aa as CustomInspectorTabEntrySchema, ao as HideInspectorTabEntrySchema, ar as InspectorTabEntrySchema } from '../config-
|
|
3
|
-
export { y as ActorInspectorConfig, z as ActorInspectorConfigSchema, a1 as BUILTIN_INSPECTOR_TAB_IDS, a3 as BuiltinInspectorTabIdSchema } from '../config-
|
|
2
|
+
import { aa as CustomInspectorTabEntrySchema, ao as HideInspectorTabEntrySchema, ar as InspectorTabEntrySchema } from '../config-CM_AlRlT.cjs';
|
|
3
|
+
export { y as ActorInspectorConfig, z as ActorInspectorConfigSchema, a1 as BUILTIN_INSPECTOR_TAB_IDS, a3 as BuiltinInspectorTabIdSchema } from '../config-CM_AlRlT.cjs';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../config-CBTr4IhE.cjs';
|
|
6
6
|
import '@rivetkit/rivetkit-wasm';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { aa as CustomInspectorTabEntrySchema, ao as HideInspectorTabEntrySchema, ar as InspectorTabEntrySchema } from '../config-
|
|
3
|
-
export { y as ActorInspectorConfig, z as ActorInspectorConfigSchema, a1 as BUILTIN_INSPECTOR_TAB_IDS, a3 as BuiltinInspectorTabIdSchema } from '../config-
|
|
2
|
+
import { aa as CustomInspectorTabEntrySchema, ao as HideInspectorTabEntrySchema, ar as InspectorTabEntrySchema } from '../config-DcUqgwcz.js';
|
|
3
|
+
export { y as ActorInspectorConfig, z as ActorInspectorConfigSchema, a1 as BUILTIN_INSPECTOR_TAB_IDS, a3 as BuiltinInspectorTabIdSchema } from '../config-DcUqgwcz.js';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../config-CBTr4IhE.js';
|
|
6
6
|
import '@rivetkit/rivetkit-wasm';
|