rivetkit 2.3.0-rc.12 → 2.3.0-rc.13

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.
Files changed (113) hide show
  1. package/dist/browser/client.d.ts +50 -0
  2. package/dist/browser/client.js +98 -84
  3. package/dist/browser/client.js.map +1 -1
  4. package/dist/browser/inspector/client.js +12 -2
  5. package/dist/browser/inspector/client.js.map +1 -1
  6. package/dist/tsup/actor/errors.d.cts +1 -1
  7. package/dist/tsup/actor/errors.d.ts +1 -1
  8. package/dist/tsup/agent-os/index.cjs +66 -3
  9. package/dist/tsup/agent-os/index.cjs.map +1 -1
  10. package/dist/tsup/agent-os/index.d.cts +50 -0
  11. package/dist/tsup/agent-os/index.d.ts +50 -0
  12. package/dist/tsup/agent-os/index.js +66 -3
  13. package/dist/tsup/agent-os/index.js.map +1 -1
  14. package/dist/tsup/{chunk-EWVOWEMD.js → chunk-33YE6XCI.js} +4 -4
  15. package/dist/tsup/{chunk-2ZTBRZRS.cjs → chunk-7OR3CHD5.cjs} +10 -10
  16. package/dist/tsup/{chunk-2ZTBRZRS.cjs.map → chunk-7OR3CHD5.cjs.map} +1 -1
  17. package/dist/tsup/{chunk-UETC5RF7.cjs → chunk-7XQCARVY.cjs} +3 -3
  18. package/dist/tsup/{chunk-UETC5RF7.cjs.map → chunk-7XQCARVY.cjs.map} +1 -1
  19. package/dist/tsup/{chunk-SS56HFM2.cjs → chunk-BSPS6NSN.cjs} +5 -5
  20. package/dist/tsup/{chunk-SS56HFM2.cjs.map → chunk-BSPS6NSN.cjs.map} +1 -1
  21. package/dist/tsup/{chunk-WIMUFZVJ.js → chunk-DPIMKYNB.js} +61 -2
  22. package/dist/tsup/chunk-DPIMKYNB.js.map +1 -0
  23. package/dist/tsup/{chunk-2U6RLFKX.cjs → chunk-E5CLYAUZ.cjs} +144 -142
  24. package/dist/tsup/chunk-E5CLYAUZ.cjs.map +1 -0
  25. package/dist/tsup/{chunk-VNMIAPPF.cjs → chunk-EBWOJRCC.cjs} +21 -4
  26. package/dist/tsup/chunk-EBWOJRCC.cjs.map +1 -0
  27. package/dist/tsup/{chunk-OLIJHKLL.js → chunk-HHNYEQD3.js} +6 -6
  28. package/dist/tsup/chunk-HHNYEQD3.js.map +1 -0
  29. package/dist/tsup/{chunk-3EVVOYFD.js → chunk-IOUSQVXI.js} +20 -3
  30. package/dist/tsup/chunk-IOUSQVXI.js.map +1 -0
  31. package/dist/tsup/{chunk-C7AAIILH.cjs → chunk-ISDKSSYR.cjs} +4 -4
  32. package/dist/tsup/{chunk-C7AAIILH.cjs.map → chunk-ISDKSSYR.cjs.map} +1 -1
  33. package/dist/tsup/{chunk-7UZF56RS.js → chunk-J72WHUBC.js} +10 -8
  34. package/dist/tsup/{chunk-7UZF56RS.js.map → chunk-J72WHUBC.js.map} +1 -1
  35. package/dist/tsup/{chunk-6KTMKPNU.cjs → chunk-KWABEUUA.cjs} +10 -10
  36. package/dist/tsup/chunk-KWABEUUA.cjs.map +1 -0
  37. package/dist/tsup/{chunk-WHYBAEWG.cjs → chunk-NIY3RSPX.cjs} +62 -3
  38. package/dist/tsup/chunk-NIY3RSPX.cjs.map +1 -0
  39. package/dist/tsup/{chunk-VLXRFJ7P.js → chunk-T44AVAGW.js} +2 -2
  40. package/dist/tsup/{chunk-QKSGGKGQ.js → chunk-TCXEM6PA.js} +2 -2
  41. package/dist/tsup/{chunk-OOB32JVG.js → chunk-ZI5CNA2Z.js} +2 -2
  42. package/dist/tsup/client/mod.cjs +7 -7
  43. package/dist/tsup/client/mod.cjs.map +1 -1
  44. package/dist/tsup/client/mod.d.cts +3 -3
  45. package/dist/tsup/client/mod.d.ts +3 -3
  46. package/dist/tsup/client/mod.js +6 -6
  47. package/dist/tsup/common/log.cjs +2 -2
  48. package/dist/tsup/common/log.js +1 -1
  49. package/dist/tsup/common/websocket.cjs +3 -3
  50. package/dist/tsup/common/websocket.js +2 -2
  51. package/dist/tsup/{config-DKgPGC0f.d.ts → config-BxWAw3iH.d.ts} +121 -2
  52. package/dist/tsup/{config-BtAh7oBu.d.cts → config-CZQQ-mso.d.cts} +121 -2
  53. package/dist/tsup/{context-Cfjl5pgz.d.cts → context-Bw7xq8w3.d.cts} +1 -1
  54. package/dist/tsup/{context-C-6dGebY.d.ts → context-D8QA76sV.d.ts} +1 -1
  55. package/dist/tsup/dynamic/mod.cjs +2 -2
  56. package/dist/tsup/dynamic/mod.d.cts +2 -2
  57. package/dist/tsup/dynamic/mod.d.ts +2 -2
  58. package/dist/tsup/dynamic/mod.js +1 -1
  59. package/dist/tsup/inspector/mod.cjs +5 -5
  60. package/dist/tsup/inspector/mod.js +4 -4
  61. package/dist/tsup/inspector-tab/mod.cjs +173 -0
  62. package/dist/tsup/inspector-tab/mod.cjs.map +1 -0
  63. package/dist/tsup/inspector-tab/mod.d.cts +250 -0
  64. package/dist/tsup/inspector-tab/mod.d.ts +250 -0
  65. package/dist/tsup/inspector-tab/mod.js +173 -0
  66. package/dist/tsup/inspector-tab/mod.js.map +1 -0
  67. package/dist/tsup/mod.cjs +189 -81
  68. package/dist/tsup/mod.cjs.map +1 -1
  69. package/dist/tsup/mod.d.cts +4 -4
  70. package/dist/tsup/mod.d.ts +4 -4
  71. package/dist/tsup/mod.js +124 -16
  72. package/dist/tsup/mod.js.map +1 -1
  73. package/dist/tsup/test/mod.cjs +10 -10
  74. package/dist/tsup/test/mod.d.cts +2 -2
  75. package/dist/tsup/test/mod.d.ts +2 -2
  76. package/dist/tsup/test/mod.js +6 -6
  77. package/dist/tsup/{utils-DVekpm4I.d.cts → utils-DQosb24I.d.cts} +1 -1
  78. package/dist/tsup/{utils-DVekpm4I.d.ts → utils-DQosb24I.d.ts} +1 -1
  79. package/dist/tsup/utils.cjs +2 -2
  80. package/dist/tsup/utils.d.cts +1 -1
  81. package/dist/tsup/utils.d.ts +1 -1
  82. package/dist/tsup/utils.js +1 -1
  83. package/dist/tsup/workflow/mod.cjs +11 -11
  84. package/dist/tsup/workflow/mod.cjs.map +1 -1
  85. package/dist/tsup/workflow/mod.d.cts +4 -4
  86. package/dist/tsup/workflow/mod.d.ts +4 -4
  87. package/dist/tsup/workflow/mod.js +5 -5
  88. package/package.json +19 -9
  89. package/src/actor/config.ts +91 -0
  90. package/src/actor/instance/mod.ts +4 -4
  91. package/src/actor/mod.ts +2 -0
  92. package/src/common/engine.ts +28 -1
  93. package/src/devtools-loader/index.ts +4 -7
  94. package/src/devtools-loader/serve-devtools.ts +26 -0
  95. package/src/engine-client/actor-http-client.ts +2 -2
  96. package/src/engine-client/ws-proxy.ts +5 -0
  97. package/src/inspector-tab/mod.ts +315 -0
  98. package/src/registry/config/index.ts +37 -7
  99. package/src/registry/index.ts +4 -2
  100. package/src/registry/native.ts +118 -7
  101. package/src/registry/runtime.ts +20 -0
  102. package/src/utils/env-vars.ts +6 -0
  103. package/dist/tsup/chunk-2U6RLFKX.cjs.map +0 -1
  104. package/dist/tsup/chunk-3EVVOYFD.js.map +0 -1
  105. package/dist/tsup/chunk-6KTMKPNU.cjs.map +0 -1
  106. package/dist/tsup/chunk-OLIJHKLL.js.map +0 -1
  107. package/dist/tsup/chunk-VNMIAPPF.cjs.map +0 -1
  108. package/dist/tsup/chunk-WHYBAEWG.cjs.map +0 -1
  109. package/dist/tsup/chunk-WIMUFZVJ.js.map +0 -1
  110. /package/dist/tsup/{chunk-EWVOWEMD.js.map → chunk-33YE6XCI.js.map} +0 -0
  111. /package/dist/tsup/{chunk-VLXRFJ7P.js.map → chunk-T44AVAGW.js.map} +0 -0
  112. /package/dist/tsup/{chunk-QKSGGKGQ.js.map → chunk-TCXEM6PA.js.map} +0 -0
  113. /package/dist/tsup/{chunk-OOB32JVG.js.map → chunk-ZI5CNA2Z.js.map} +0 -0
@@ -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-DVekpm4I.js';
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;
@@ -719,6 +725,21 @@ interface RuntimeActorConfig {
719
725
  actions?: Array<{
720
726
  name: string;
721
727
  }>;
728
+ inspectorTabs?: Array<RuntimeInspectorTabEntry>;
729
+ }
730
+ interface RuntimeInspectorTabEntry {
731
+ id: string;
732
+ /** Required for custom entries; omitted for built-in hides. */
733
+ label?: string;
734
+ /**
735
+ * Required for custom entries — absolute path to the source directory.
736
+ * Resolved on the TS side before being handed to the runtime.
737
+ */
738
+ source?: string;
739
+ /** Optional icon id for custom entries. */
740
+ icon?: string;
741
+ /** Set to true for built-in hide entries. */
742
+ hidden?: boolean;
722
743
  }
723
744
  interface RuntimeServeConfig {
724
745
  version: number;
@@ -727,6 +748,8 @@ interface RuntimeServeConfig {
727
748
  namespace: string;
728
749
  poolName: string;
729
750
  engineBinaryPath?: string;
751
+ engineHost?: string;
752
+ enginePort?: number;
730
753
  handleInspectorHttpInRuntime?: boolean;
731
754
  inspectorTestToken?: string;
732
755
  serverlessBasePath?: string;
@@ -1539,6 +1562,10 @@ type ActorKvListOptions<T extends ActorKvValueType = "text", K extends ActorKvKe
1539
1562
  limit?: number;
1540
1563
  };
1541
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
+ */
1542
1569
  interface ActorKv {
1543
1570
  get<T extends ActorKvValueType = "text">(key: Uint8Array | string, options?: ActorKvValueOptions<T>): Promise<ActorKvValueTypeMap[T] | null>;
1544
1571
  put<T extends ActorKvValueType = "text">(key: Uint8Array | string, value: Uint8Array | string | ArrayBuffer, options?: ActorKvValueOptions<T>): Promise<void>;
@@ -1637,6 +1664,10 @@ interface ActorContext<TState, TConnParams, TConnState, TVars, TInput, TDatabase
1637
1664
  [RAW_STATE_SYMBOL](): TState;
1638
1665
  state: TState;
1639
1666
  vars: TVars;
1667
+ /**
1668
+ * @deprecated Actor KV is deprecated. Use embedded SQLite (`db` / `sql`)
1669
+ * or actor state instead.
1670
+ */
1640
1671
  readonly kv: ActorKv;
1641
1672
  readonly db: InferDatabaseClient<TDatabase>;
1642
1673
  readonly schedule: ActorSchedule;
@@ -1702,6 +1733,75 @@ interface WorkflowInspectorConfig<THistory = unknown> {
1702
1733
  interface RunInspectorConfig<THistory = unknown> {
1703
1734
  workflow?: WorkflowInspectorConfig<THistory>;
1704
1735
  }
1736
+ /**
1737
+ * Built-in inspector tabs the dashboard ships. Used to validate
1738
+ * `hidden: true` entries and reject custom-tab ids that collide with
1739
+ * a built-in.
1740
+ */
1741
+ declare const BUILTIN_INSPECTOR_TAB_IDS: readonly ["workflow", "database", "state", "queue", "connections", "console"];
1742
+ declare const BuiltinInspectorTabIdSchema: z.ZodEnum<{
1743
+ workflow: "workflow";
1744
+ state: "state";
1745
+ database: "database";
1746
+ queue: "queue";
1747
+ connections: "connections";
1748
+ console: "console";
1749
+ }>;
1750
+ declare const CustomInspectorTabEntrySchema: z.ZodObject<{
1751
+ id: z.ZodString;
1752
+ label: z.ZodString;
1753
+ source: z.ZodString;
1754
+ icon: z.ZodOptional<z.ZodString>;
1755
+ hidden: z.ZodOptional<z.ZodLiteral<false>>;
1756
+ }, z.core.$strict>;
1757
+ declare const HideInspectorTabEntrySchema: z.ZodObject<{
1758
+ id: z.ZodEnum<{
1759
+ workflow: "workflow";
1760
+ state: "state";
1761
+ database: "database";
1762
+ queue: "queue";
1763
+ connections: "connections";
1764
+ console: "console";
1765
+ }>;
1766
+ hidden: z.ZodLiteral<true>;
1767
+ }, z.core.$strict>;
1768
+ declare const InspectorTabEntrySchema: z.ZodUnion<readonly [z.ZodObject<{
1769
+ id: z.ZodString;
1770
+ label: z.ZodString;
1771
+ source: z.ZodString;
1772
+ icon: z.ZodOptional<z.ZodString>;
1773
+ hidden: z.ZodOptional<z.ZodLiteral<false>>;
1774
+ }, z.core.$strict>, z.ZodObject<{
1775
+ id: z.ZodEnum<{
1776
+ workflow: "workflow";
1777
+ state: "state";
1778
+ database: "database";
1779
+ queue: "queue";
1780
+ connections: "connections";
1781
+ console: "console";
1782
+ }>;
1783
+ hidden: z.ZodLiteral<true>;
1784
+ }, z.core.$strict>]>;
1785
+ declare const ActorInspectorConfigSchema: z.ZodObject<{
1786
+ tabs: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1787
+ id: z.ZodString;
1788
+ label: z.ZodString;
1789
+ source: z.ZodString;
1790
+ icon: z.ZodOptional<z.ZodString>;
1791
+ hidden: z.ZodOptional<z.ZodLiteral<false>>;
1792
+ }, z.core.$strict>, z.ZodObject<{
1793
+ id: z.ZodEnum<{
1794
+ workflow: "workflow";
1795
+ state: "state";
1796
+ database: "database";
1797
+ queue: "queue";
1798
+ connections: "connections";
1799
+ console: "console";
1800
+ }>;
1801
+ hidden: z.ZodLiteral<true>;
1802
+ }, z.core.$strict>]>>>;
1803
+ }, z.core.$strict>;
1804
+ type ActorInspectorConfig = z.input<typeof ActorInspectorConfigSchema>;
1705
1805
  declare const RunConfigSchema: z.ZodObject<{
1706
1806
  name: z.ZodOptional<z.ZodString>;
1707
1807
  icon: z.ZodOptional<z.ZodString>;
@@ -1843,6 +1943,25 @@ declare const ActorConfigSchema: z.ZodObject<{
1843
1943
  preloadMaxWorkflowBytes: z.ZodOptional<z.ZodNumber>;
1844
1944
  preloadMaxConnectionsBytes: z.ZodOptional<z.ZodNumber>;
1845
1945
  }, z.core.$strict>>;
1946
+ inspector: z.ZodOptional<z.ZodObject<{
1947
+ tabs: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1948
+ id: z.ZodString;
1949
+ label: z.ZodString;
1950
+ source: z.ZodString;
1951
+ icon: z.ZodOptional<z.ZodString>;
1952
+ hidden: z.ZodOptional<z.ZodLiteral<false>>;
1953
+ }, z.core.$strict>, z.ZodObject<{
1954
+ id: z.ZodEnum<{
1955
+ workflow: "workflow";
1956
+ state: "state";
1957
+ database: "database";
1958
+ queue: "queue";
1959
+ connections: "connections";
1960
+ console: "console";
1961
+ }>;
1962
+ hidden: z.ZodLiteral<true>;
1963
+ }, z.core.$strict>]>>>;
1964
+ }, z.core.$strict>>;
1846
1965
  }, z.core.$strict>;
1847
1966
  type CreateState<TState, _TConnParams, _TConnState, _TVars, TInput, TDatabase extends AnyDatabaseProvider, TEvents extends EventSchemaConfig, TQueues extends QueueSchemaConfig> = {
1848
1967
  state: TState;
@@ -2126,4 +2245,4 @@ declare const DocActorConfigSchema: z.ZodObject<{
2126
2245
  }, z.core.$strip>>;
2127
2246
  }, z.core.$strip>;
2128
2247
 
2129
- export { DocConfigurePoolSchema as $, type AnyActorDefinition as A, type BaseActorDefinition as B, type ConnectContext as C, type DestroyContext as D, type EventSchemaConfig as E, type ActorSchedule as F, type ActorTypes as G, ActorsSchema as H, type AnyActorInstance as I, type AnyClient as J, type AnyConn as K, type AnyStaticActorDefinition as L, type MigrateContext as M, type AnyStaticActorInstance as N, type AuthIntent as O, type BaseActorInstance as P, type QueueSchemaConfig as Q, type RequestContext as R, type SleepContext as S, CONN_DRIVER_SYMBOL as T, CONN_STATE_MANAGER_SYMBOL as U, type Client as V, type WakeContext as W, type Conn as X, DEFAULT_SLEEP_GRACE_PERIOD as Y, DocActorConfigSchema as Z, DocActorOptionsSchema as _, type ActionContext as a, test as a$, DocEnvoyConfigSchema as a0, DocRegistryConfigSchema as a1, DocServerlessConfigSchema as a2, DocSqliteConfigSchema as a3, type Encoding as a4, type FetchHandler as a5, type GlobalActorOptions as a6, type GlobalActorOptionsInput as a7, GlobalActorOptionsSchema as a8, type InspectorUnsubscribe as a9, type RuntimeKind as aA, RuntimeKindSchema as aB, type ServerlessHandler as aC, type SqliteBackend as aD, SqliteBackendSchema as aE, type SqliteConfig as aF, SqliteConfigSchema as aG, type TestConfig as aH, TestConfigSchema as aI, type Type as aJ, type WasmRuntimeBindings as aK, type WasmRuntimeConfig as aL, WasmRuntimeConfigSchema as aM, type WasmRuntimeInitInput as aN, type WorkflowInspectorConfig as aO, actor as aP, buildActorNames as aQ, createClientWithDriver as aR, event as aS, getRunFunction as aT, getRunInspectorConfig as aU, getRunMetadata as aV, isStaticActorDefinition as aW, isStaticActorInstance as aX, lookupInRegistry as aY, queue as aZ, setup as a_, type InstanceActorOptions as aa, type InstanceActorOptionsInput as ab, InstanceActorOptionsSchema as ac, type QueueEnqueueAndWaitOptions as ad, type QueueFilterName as ae, type QueueIterOptions as af, type QueueMessageOf as ag, type QueueName as ah, type QueueNextBatchOptions as ai, type QueueNextOptions as aj, type QueueResultMessageForName as ak, type QueueTryNextBatchOptions as al, type QueueTryNextOptions as am, type QueueWaitOptions as an, RAW_STATE_SYMBOL as ao, RUN_FUNCTION_CONFIG_SYMBOL as ap, Registry as aq, type RegistryActors as ar, type RegistryConfig as as, type RegistryConfigInput as at, RegistryConfigSchema as au, type RegistryDeps as av, type RegistryRoutes as aw, type RunConfig as ax, RunConfigSchema as ay, type RunInspectorConfig as az, type BeforeActionResponseContext as b, type ActorAccessor as b0, type ActorActionFunction as b1, type ActorActionOptions as b2, type ActorConn as b3, ActorConnRaw as b4, type ActorConnStatus as b5, type ActorConnectOptions as b6, type ActorGatewayOptions as b7, type ActorHandle as b8, ActorHandleRaw 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 InferSchemaMap as bm, type InferEventArgs as bn, 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 Actions as l, type ActorConfig as m, type ActorConfigInput as n, ActorConfigSchema as o, type ActorContext as p, type ActorContextOf as q, ActorDefinition as r, type ActorKey as s, type ActorKv as t, type ActorLogger as u, type ActorOptions as v, type ActorOptionsInput as w, ActorOptionsSchema as x, type ActorQuery as y, type ActorQueue as z };
2248
+ export { type Conn as $, type AnyActorDefinition as A, type BaseActorDefinition as B, type ConnectContext as C, type DestroyContext as D, type EventSchemaConfig as E, type ActorQuery as F, type ActorQueue as G, type ActorSchedule as H, type ActorTypes as I, ActorsSchema as J, type AnyActorInstance as K, type AnyClient as L, type MigrateContext as M, type AnyConn as N, type AnyStaticActorDefinition as O, type AnyStaticActorInstance as P, type QueueSchemaConfig as Q, type RequestContext as R, type SleepContext as S, type AuthIntent as T, BUILTIN_INSPECTOR_TAB_IDS as U, type BaseActorInstance as V, type WakeContext as W, BuiltinInspectorTabIdSchema as X, CONN_DRIVER_SYMBOL as Y, CONN_STATE_MANAGER_SYMBOL as Z, type Client as _, type ActionContext as a, getRunInspectorConfig as a$, CustomInspectorTabEntrySchema as a0, DEFAULT_SLEEP_GRACE_PERIOD as a1, DocActorConfigSchema as a2, DocActorOptionsSchema as a3, DocConfigurePoolSchema as a4, DocEnvoyConfigSchema as a5, DocRegistryConfigSchema as a6, DocServerlessConfigSchema as a7, DocSqliteConfigSchema as a8, type Encoding as a9, type RegistryConfigInput as aA, RegistryConfigSchema as aB, type RegistryDeps as aC, type RegistryRoutes as aD, type RunConfig as aE, RunConfigSchema as aF, type RunInspectorConfig as aG, type RuntimeKind as aH, RuntimeKindSchema as aI, type ServerlessHandler as aJ, type SqliteBackend as aK, SqliteBackendSchema as aL, type SqliteConfig as aM, SqliteConfigSchema as aN, type TestConfig as aO, TestConfigSchema as aP, type Type as aQ, type WasmRuntimeBindings as aR, type WasmRuntimeConfig as aS, WasmRuntimeConfigSchema as aT, type WasmRuntimeInitInput as aU, type WorkflowInspectorConfig as aV, actor as aW, buildActorNames as aX, createClientWithDriver as aY, event as aZ, getRunFunction as a_, type FetchHandler as aa, type GlobalActorOptions as ab, type GlobalActorOptionsInput as ac, GlobalActorOptionsSchema as ad, HideInspectorTabEntrySchema as ae, InspectorTabEntrySchema as af, type InspectorUnsubscribe as ag, type InstanceActorOptions as ah, type InstanceActorOptionsInput as ai, InstanceActorOptionsSchema as aj, type QueueEnqueueAndWaitOptions as ak, type QueueFilterName as al, type QueueIterOptions as am, type QueueMessageOf as an, type QueueName as ao, type QueueNextBatchOptions as ap, type QueueNextOptions as aq, type QueueResultMessageForName as ar, type QueueTryNextBatchOptions as as, type QueueTryNextOptions as at, type QueueWaitOptions as au, RAW_STATE_SYMBOL as av, RUN_FUNCTION_CONFIG_SYMBOL as aw, Registry as ax, type RegistryActors as ay, type RegistryConfig as az, type BeforeActionResponseContext as b, getRunMetadata as b0, isStaticActorDefinition as b1, isStaticActorInstance as b2, lookupInRegistry as b3, queue as b4, setup as b5, test as b6, type ActorAccessor as b7, type ActorActionFunction as b8, type ActorActionOptions as b9, type ActorConn as ba, ActorConnRaw as bb, type ActorConnStatus as bc, type ActorConnectOptions as bd, type ActorGatewayOptions as be, type ActorHandle as bf, ActorHandleRaw as bg, ClientRaw as bh, type ConnectionStateCallback as bi, type CreateOptions as bj, type CreateRequest as bk, type EventUnsubscribe as bl, type ExtractActorsFromRegistry as bm, type ExtractRegistryFromClient as bn, type GetOptions as bo, type GetWithIdOptions as bp, type QueryOptions as bq, type Region as br, type StatusChangeCallback as bs, type InferSchemaMap as bt, type InferEventArgs as bu, 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 Actions as l, type ActorConfig as m, type ActorConfigInput as n, ActorConfigSchema as o, type ActorContext as p, type ActorContextOf as q, ActorDefinition as r, type ActorInspectorConfig as s, ActorInspectorConfigSchema as t, type ActorKey as u, type ActorKv as v, type ActorLogger as w, type ActorOptions as x, type ActorOptionsInput as y, ActorOptionsSchema as z };
@@ -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-DVekpm4I.cjs';
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;
@@ -719,6 +725,21 @@ interface RuntimeActorConfig {
719
725
  actions?: Array<{
720
726
  name: string;
721
727
  }>;
728
+ inspectorTabs?: Array<RuntimeInspectorTabEntry>;
729
+ }
730
+ interface RuntimeInspectorTabEntry {
731
+ id: string;
732
+ /** Required for custom entries; omitted for built-in hides. */
733
+ label?: string;
734
+ /**
735
+ * Required for custom entries — absolute path to the source directory.
736
+ * Resolved on the TS side before being handed to the runtime.
737
+ */
738
+ source?: string;
739
+ /** Optional icon id for custom entries. */
740
+ icon?: string;
741
+ /** Set to true for built-in hide entries. */
742
+ hidden?: boolean;
722
743
  }
723
744
  interface RuntimeServeConfig {
724
745
  version: number;
@@ -727,6 +748,8 @@ interface RuntimeServeConfig {
727
748
  namespace: string;
728
749
  poolName: string;
729
750
  engineBinaryPath?: string;
751
+ engineHost?: string;
752
+ enginePort?: number;
730
753
  handleInspectorHttpInRuntime?: boolean;
731
754
  inspectorTestToken?: string;
732
755
  serverlessBasePath?: string;
@@ -1539,6 +1562,10 @@ type ActorKvListOptions<T extends ActorKvValueType = "text", K extends ActorKvKe
1539
1562
  limit?: number;
1540
1563
  };
1541
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
+ */
1542
1569
  interface ActorKv {
1543
1570
  get<T extends ActorKvValueType = "text">(key: Uint8Array | string, options?: ActorKvValueOptions<T>): Promise<ActorKvValueTypeMap[T] | null>;
1544
1571
  put<T extends ActorKvValueType = "text">(key: Uint8Array | string, value: Uint8Array | string | ArrayBuffer, options?: ActorKvValueOptions<T>): Promise<void>;
@@ -1637,6 +1664,10 @@ interface ActorContext<TState, TConnParams, TConnState, TVars, TInput, TDatabase
1637
1664
  [RAW_STATE_SYMBOL](): TState;
1638
1665
  state: TState;
1639
1666
  vars: TVars;
1667
+ /**
1668
+ * @deprecated Actor KV is deprecated. Use embedded SQLite (`db` / `sql`)
1669
+ * or actor state instead.
1670
+ */
1640
1671
  readonly kv: ActorKv;
1641
1672
  readonly db: InferDatabaseClient<TDatabase>;
1642
1673
  readonly schedule: ActorSchedule;
@@ -1702,6 +1733,75 @@ interface WorkflowInspectorConfig<THistory = unknown> {
1702
1733
  interface RunInspectorConfig<THistory = unknown> {
1703
1734
  workflow?: WorkflowInspectorConfig<THistory>;
1704
1735
  }
1736
+ /**
1737
+ * Built-in inspector tabs the dashboard ships. Used to validate
1738
+ * `hidden: true` entries and reject custom-tab ids that collide with
1739
+ * a built-in.
1740
+ */
1741
+ declare const BUILTIN_INSPECTOR_TAB_IDS: readonly ["workflow", "database", "state", "queue", "connections", "console"];
1742
+ declare const BuiltinInspectorTabIdSchema: z.ZodEnum<{
1743
+ workflow: "workflow";
1744
+ state: "state";
1745
+ database: "database";
1746
+ queue: "queue";
1747
+ connections: "connections";
1748
+ console: "console";
1749
+ }>;
1750
+ declare const CustomInspectorTabEntrySchema: z.ZodObject<{
1751
+ id: z.ZodString;
1752
+ label: z.ZodString;
1753
+ source: z.ZodString;
1754
+ icon: z.ZodOptional<z.ZodString>;
1755
+ hidden: z.ZodOptional<z.ZodLiteral<false>>;
1756
+ }, z.core.$strict>;
1757
+ declare const HideInspectorTabEntrySchema: z.ZodObject<{
1758
+ id: z.ZodEnum<{
1759
+ workflow: "workflow";
1760
+ state: "state";
1761
+ database: "database";
1762
+ queue: "queue";
1763
+ connections: "connections";
1764
+ console: "console";
1765
+ }>;
1766
+ hidden: z.ZodLiteral<true>;
1767
+ }, z.core.$strict>;
1768
+ declare const InspectorTabEntrySchema: z.ZodUnion<readonly [z.ZodObject<{
1769
+ id: z.ZodString;
1770
+ label: z.ZodString;
1771
+ source: z.ZodString;
1772
+ icon: z.ZodOptional<z.ZodString>;
1773
+ hidden: z.ZodOptional<z.ZodLiteral<false>>;
1774
+ }, z.core.$strict>, z.ZodObject<{
1775
+ id: z.ZodEnum<{
1776
+ workflow: "workflow";
1777
+ state: "state";
1778
+ database: "database";
1779
+ queue: "queue";
1780
+ connections: "connections";
1781
+ console: "console";
1782
+ }>;
1783
+ hidden: z.ZodLiteral<true>;
1784
+ }, z.core.$strict>]>;
1785
+ declare const ActorInspectorConfigSchema: z.ZodObject<{
1786
+ tabs: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1787
+ id: z.ZodString;
1788
+ label: z.ZodString;
1789
+ source: z.ZodString;
1790
+ icon: z.ZodOptional<z.ZodString>;
1791
+ hidden: z.ZodOptional<z.ZodLiteral<false>>;
1792
+ }, z.core.$strict>, z.ZodObject<{
1793
+ id: z.ZodEnum<{
1794
+ workflow: "workflow";
1795
+ state: "state";
1796
+ database: "database";
1797
+ queue: "queue";
1798
+ connections: "connections";
1799
+ console: "console";
1800
+ }>;
1801
+ hidden: z.ZodLiteral<true>;
1802
+ }, z.core.$strict>]>>>;
1803
+ }, z.core.$strict>;
1804
+ type ActorInspectorConfig = z.input<typeof ActorInspectorConfigSchema>;
1705
1805
  declare const RunConfigSchema: z.ZodObject<{
1706
1806
  name: z.ZodOptional<z.ZodString>;
1707
1807
  icon: z.ZodOptional<z.ZodString>;
@@ -1843,6 +1943,25 @@ declare const ActorConfigSchema: z.ZodObject<{
1843
1943
  preloadMaxWorkflowBytes: z.ZodOptional<z.ZodNumber>;
1844
1944
  preloadMaxConnectionsBytes: z.ZodOptional<z.ZodNumber>;
1845
1945
  }, z.core.$strict>>;
1946
+ inspector: z.ZodOptional<z.ZodObject<{
1947
+ tabs: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1948
+ id: z.ZodString;
1949
+ label: z.ZodString;
1950
+ source: z.ZodString;
1951
+ icon: z.ZodOptional<z.ZodString>;
1952
+ hidden: z.ZodOptional<z.ZodLiteral<false>>;
1953
+ }, z.core.$strict>, z.ZodObject<{
1954
+ id: z.ZodEnum<{
1955
+ workflow: "workflow";
1956
+ state: "state";
1957
+ database: "database";
1958
+ queue: "queue";
1959
+ connections: "connections";
1960
+ console: "console";
1961
+ }>;
1962
+ hidden: z.ZodLiteral<true>;
1963
+ }, z.core.$strict>]>>>;
1964
+ }, z.core.$strict>>;
1846
1965
  }, z.core.$strict>;
1847
1966
  type CreateState<TState, _TConnParams, _TConnState, _TVars, TInput, TDatabase extends AnyDatabaseProvider, TEvents extends EventSchemaConfig, TQueues extends QueueSchemaConfig> = {
1848
1967
  state: TState;
@@ -2126,4 +2245,4 @@ declare const DocActorConfigSchema: z.ZodObject<{
2126
2245
  }, z.core.$strip>>;
2127
2246
  }, z.core.$strip>;
2128
2247
 
2129
- export { DocConfigurePoolSchema as $, type AnyActorDefinition as A, type BaseActorDefinition as B, type ConnectContext as C, type DestroyContext as D, type EventSchemaConfig as E, type ActorSchedule as F, type ActorTypes as G, ActorsSchema as H, type AnyActorInstance as I, type AnyClient as J, type AnyConn as K, type AnyStaticActorDefinition as L, type MigrateContext as M, type AnyStaticActorInstance as N, type AuthIntent as O, type BaseActorInstance as P, type QueueSchemaConfig as Q, type RequestContext as R, type SleepContext as S, CONN_DRIVER_SYMBOL as T, CONN_STATE_MANAGER_SYMBOL as U, type Client as V, type WakeContext as W, type Conn as X, DEFAULT_SLEEP_GRACE_PERIOD as Y, DocActorConfigSchema as Z, DocActorOptionsSchema as _, type ActionContext as a, test as a$, DocEnvoyConfigSchema as a0, DocRegistryConfigSchema as a1, DocServerlessConfigSchema as a2, DocSqliteConfigSchema as a3, type Encoding as a4, type FetchHandler as a5, type GlobalActorOptions as a6, type GlobalActorOptionsInput as a7, GlobalActorOptionsSchema as a8, type InspectorUnsubscribe as a9, type RuntimeKind as aA, RuntimeKindSchema as aB, type ServerlessHandler as aC, type SqliteBackend as aD, SqliteBackendSchema as aE, type SqliteConfig as aF, SqliteConfigSchema as aG, type TestConfig as aH, TestConfigSchema as aI, type Type as aJ, type WasmRuntimeBindings as aK, type WasmRuntimeConfig as aL, WasmRuntimeConfigSchema as aM, type WasmRuntimeInitInput as aN, type WorkflowInspectorConfig as aO, actor as aP, buildActorNames as aQ, createClientWithDriver as aR, event as aS, getRunFunction as aT, getRunInspectorConfig as aU, getRunMetadata as aV, isStaticActorDefinition as aW, isStaticActorInstance as aX, lookupInRegistry as aY, queue as aZ, setup as a_, type InstanceActorOptions as aa, type InstanceActorOptionsInput as ab, InstanceActorOptionsSchema as ac, type QueueEnqueueAndWaitOptions as ad, type QueueFilterName as ae, type QueueIterOptions as af, type QueueMessageOf as ag, type QueueName as ah, type QueueNextBatchOptions as ai, type QueueNextOptions as aj, type QueueResultMessageForName as ak, type QueueTryNextBatchOptions as al, type QueueTryNextOptions as am, type QueueWaitOptions as an, RAW_STATE_SYMBOL as ao, RUN_FUNCTION_CONFIG_SYMBOL as ap, Registry as aq, type RegistryActors as ar, type RegistryConfig as as, type RegistryConfigInput as at, RegistryConfigSchema as au, type RegistryDeps as av, type RegistryRoutes as aw, type RunConfig as ax, RunConfigSchema as ay, type RunInspectorConfig as az, type BeforeActionResponseContext as b, type ActorAccessor as b0, type ActorActionFunction as b1, type ActorActionOptions as b2, type ActorConn as b3, ActorConnRaw as b4, type ActorConnStatus as b5, type ActorConnectOptions as b6, type ActorGatewayOptions as b7, type ActorHandle as b8, ActorHandleRaw 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 InferSchemaMap as bm, type InferEventArgs as bn, 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 Actions as l, type ActorConfig as m, type ActorConfigInput as n, ActorConfigSchema as o, type ActorContext as p, type ActorContextOf as q, ActorDefinition as r, type ActorKey as s, type ActorKv as t, type ActorLogger as u, type ActorOptions as v, type ActorOptionsInput as w, ActorOptionsSchema as x, type ActorQuery as y, type ActorQueue as z };
2248
+ export { type Conn as $, type AnyActorDefinition as A, type BaseActorDefinition as B, type ConnectContext as C, type DestroyContext as D, type EventSchemaConfig as E, type ActorQuery as F, type ActorQueue as G, type ActorSchedule as H, type ActorTypes as I, ActorsSchema as J, type AnyActorInstance as K, type AnyClient as L, type MigrateContext as M, type AnyConn as N, type AnyStaticActorDefinition as O, type AnyStaticActorInstance as P, type QueueSchemaConfig as Q, type RequestContext as R, type SleepContext as S, type AuthIntent as T, BUILTIN_INSPECTOR_TAB_IDS as U, type BaseActorInstance as V, type WakeContext as W, BuiltinInspectorTabIdSchema as X, CONN_DRIVER_SYMBOL as Y, CONN_STATE_MANAGER_SYMBOL as Z, type Client as _, type ActionContext as a, getRunInspectorConfig as a$, CustomInspectorTabEntrySchema as a0, DEFAULT_SLEEP_GRACE_PERIOD as a1, DocActorConfigSchema as a2, DocActorOptionsSchema as a3, DocConfigurePoolSchema as a4, DocEnvoyConfigSchema as a5, DocRegistryConfigSchema as a6, DocServerlessConfigSchema as a7, DocSqliteConfigSchema as a8, type Encoding as a9, type RegistryConfigInput as aA, RegistryConfigSchema as aB, type RegistryDeps as aC, type RegistryRoutes as aD, type RunConfig as aE, RunConfigSchema as aF, type RunInspectorConfig as aG, type RuntimeKind as aH, RuntimeKindSchema as aI, type ServerlessHandler as aJ, type SqliteBackend as aK, SqliteBackendSchema as aL, type SqliteConfig as aM, SqliteConfigSchema as aN, type TestConfig as aO, TestConfigSchema as aP, type Type as aQ, type WasmRuntimeBindings as aR, type WasmRuntimeConfig as aS, WasmRuntimeConfigSchema as aT, type WasmRuntimeInitInput as aU, type WorkflowInspectorConfig as aV, actor as aW, buildActorNames as aX, createClientWithDriver as aY, event as aZ, getRunFunction as a_, type FetchHandler as aa, type GlobalActorOptions as ab, type GlobalActorOptionsInput as ac, GlobalActorOptionsSchema as ad, HideInspectorTabEntrySchema as ae, InspectorTabEntrySchema as af, type InspectorUnsubscribe as ag, type InstanceActorOptions as ah, type InstanceActorOptionsInput as ai, InstanceActorOptionsSchema as aj, type QueueEnqueueAndWaitOptions as ak, type QueueFilterName as al, type QueueIterOptions as am, type QueueMessageOf as an, type QueueName as ao, type QueueNextBatchOptions as ap, type QueueNextOptions as aq, type QueueResultMessageForName as ar, type QueueTryNextBatchOptions as as, type QueueTryNextOptions as at, type QueueWaitOptions as au, RAW_STATE_SYMBOL as av, RUN_FUNCTION_CONFIG_SYMBOL as aw, Registry as ax, type RegistryActors as ay, type RegistryConfig as az, type BeforeActionResponseContext as b, getRunMetadata as b0, isStaticActorDefinition as b1, isStaticActorInstance as b2, lookupInRegistry as b3, queue as b4, setup as b5, test as b6, type ActorAccessor as b7, type ActorActionFunction as b8, type ActorActionOptions as b9, type ActorConn as ba, ActorConnRaw as bb, type ActorConnStatus as bc, type ActorConnectOptions as bd, type ActorGatewayOptions as be, type ActorHandle as bf, ActorHandleRaw as bg, ClientRaw as bh, type ConnectionStateCallback as bi, type CreateOptions as bj, type CreateRequest as bk, type EventUnsubscribe as bl, type ExtractActorsFromRegistry as bm, type ExtractRegistryFromClient as bn, type GetOptions as bo, type GetWithIdOptions as bp, type QueryOptions as bq, type Region as br, type StatusChangeCallback as bs, type InferSchemaMap as bt, type InferEventArgs as bu, 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 Actions as l, type ActorConfig as m, type ActorConfigInput as n, ActorConfigSchema as o, type ActorContext as p, type ActorContextOf as q, ActorDefinition as r, type ActorInspectorConfig as s, ActorInspectorConfigSchema as t, type ActorKey as u, type ActorKv as v, type ActorLogger as w, type ActorOptions as x, type ActorOptionsInput as y, ActorOptionsSchema as z };
@@ -1,4 +1,4 @@
1
- import { A as AnyActorDefinition, B as BaseActorDefinition, E as EventSchemaConfig, Q as QueueSchemaConfig, h as RunContext, ae as QueueFilterName, aj as QueueNextOptions, ak as QueueResultMessageForName, ai as QueueNextBatchOptions, bm as InferSchemaMap, aq as Registry, V as Client, u as ActorLogger, bn as InferEventArgs } from './config-BtAh7oBu.cjs';
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, ae as QueueFilterName, aj as QueueNextOptions, ak as QueueResultMessageForName, ai as QueueNextBatchOptions, bm as InferSchemaMap, aq as Registry, V as Client, u as ActorLogger, bn as InferEventArgs } from './config-DKgPGC0f.js';
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 _chunkWHYBAEWGcjs = require('../chunk-WHYBAEWG.cjs');
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 = _chunkWHYBAEWGcjs.ActorConfigSchema.parse({
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-BtAh7oBu.cjs';
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-DVekpm4I.cjs';
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-DKgPGC0f.js';
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-DVekpm4I.js';
11
+ import '../utils-DQosb24I.js';
12
12
  import 'hono/utils/http-status';
13
13
 
14
14
  declare const DYNAMIC_ACTOR_DEFINITION_SYMBOL: unique symbol;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ActorConfigSchema
3
- } from "../chunk-WIMUFZVJ.js";
3
+ } from "../chunk-DPIMKYNB.js";
4
4
 
5
5
  // src/dynamic/internal.ts
6
6
  var DYNAMIC_ACTOR_DEFINITION_SYMBOL = /* @__PURE__ */ Symbol.for(
@@ -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 _chunk2ZTBRZRScjs = require('../chunk-2ZTBRZRS.cjs');
3
+ var _chunk7OR3CHD5cjs = require('../chunk-7OR3CHD5.cjs');
4
4
 
5
5
 
6
6
 
7
- var _chunkC7AAIILHcjs = require('../chunk-C7AAIILH.cjs');
8
- require('../chunk-SS56HFM2.cjs');
9
- require('../chunk-VNMIAPPF.cjs');
7
+ var _chunkISDKSSYRcjs = require('../chunk-ISDKSSYR.cjs');
8
+ require('../chunk-BSPS6NSN.cjs');
9
+ require('../chunk-EBWOJRCC.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 = _chunk2ZTBRZRScjs.createWorkflowInspectorAdapter; exports.decodeToClient = decodeToClient; exports.decodeToServer = decodeToServer; exports.decodeWorkflowHistoryTransport = _chunkC7AAIILHcjs.decodeWorkflowHistoryTransport; exports.encodeToClient = encodeToClient; exports.encodeToServer = encodeToServer; exports.encodeWorkflowHistoryTransport = _chunkC7AAIILHcjs.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;
764
+ exports.createWorkflowInspectorAdapter = _chunk7OR3CHD5cjs.createWorkflowInspectorAdapter; exports.decodeToClient = decodeToClient; exports.decodeToServer = decodeToServer; exports.decodeWorkflowHistoryTransport = _chunkISDKSSYRcjs.decodeWorkflowHistoryTransport; exports.encodeToClient = encodeToClient; exports.encodeToServer = encodeToServer; exports.encodeWorkflowHistoryTransport = _chunkISDKSSYRcjs.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-EWVOWEMD.js";
3
+ } from "../chunk-33YE6XCI.js";
4
4
  import {
5
5
  decodeWorkflowHistoryTransport,
6
6
  encodeWorkflowHistoryTransport
7
- } from "../chunk-QKSGGKGQ.js";
8
- import "../chunk-OOB32JVG.js";
9
- import "../chunk-3EVVOYFD.js";
7
+ } from "../chunk-TCXEM6PA.js";
8
+ import "../chunk-ZI5CNA2Z.js";
9
+ import "../chunk-IOUSQVXI.js";
10
10
  import "../chunk-BRP62GZC.js";
11
11
 
12
12
  // src/common/bare/generated/inspector/v4.ts