rivetkit 2.3.19 → 2.3.20

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 (101) hide show
  1. package/dist/browser/client.d.ts +39 -0
  2. package/dist/browser/client.js +1 -1
  3. package/dist/browser/client.js.map +1 -1
  4. package/dist/browser/inspector/client.js +1 -1
  5. package/dist/browser/inspector/client.js.map +1 -1
  6. package/dist/tsup/agent-os/index.cjs +34 -1
  7. package/dist/tsup/agent-os/index.cjs.map +1 -1
  8. package/dist/tsup/agent-os/index.d.cts +39 -0
  9. package/dist/tsup/agent-os/index.d.ts +39 -0
  10. package/dist/tsup/agent-os/index.js +34 -1
  11. package/dist/tsup/agent-os/index.js.map +1 -1
  12. package/dist/tsup/{chunk-RJC5O2SD.cjs → chunk-2CE5UNWK.cjs} +2 -2
  13. package/dist/tsup/{chunk-RJC5O2SD.cjs.map → chunk-2CE5UNWK.cjs.map} +1 -1
  14. package/dist/tsup/{chunk-7HTST3NX.js → chunk-2NXLTFWI.js} +3 -3
  15. package/dist/tsup/{chunk-OGPFN6BT.cjs → chunk-3WS7Z64U.cjs} +3 -3
  16. package/dist/tsup/{chunk-OGPFN6BT.cjs.map → chunk-3WS7Z64U.cjs.map} +1 -1
  17. package/dist/tsup/{chunk-X7RMJQGY.js → chunk-553CIQJY.js} +2 -2
  18. package/dist/tsup/{chunk-BKX7UDTA.js → chunk-5G2J26VM.js} +3 -3
  19. package/dist/tsup/{chunk-PPEIPCW4.cjs → chunk-76YTS32R.cjs} +4 -4
  20. package/dist/tsup/{chunk-PPEIPCW4.cjs.map → chunk-76YTS32R.cjs.map} +1 -1
  21. package/dist/tsup/{chunk-IJUXBWH4.cjs → chunk-A36FMKOV.cjs} +138 -138
  22. package/dist/tsup/{chunk-IJUXBWH4.cjs.map → chunk-A36FMKOV.cjs.map} +1 -1
  23. package/dist/tsup/{chunk-EB77NZL4.js → chunk-CSOHAAZK.js} +33 -1
  24. package/dist/tsup/chunk-CSOHAAZK.js.map +1 -0
  25. package/dist/tsup/{chunk-Z4RAXFSD.cjs → chunk-CVLNRT7O.cjs} +3 -3
  26. package/dist/tsup/{chunk-Z4RAXFSD.cjs.map → chunk-CVLNRT7O.cjs.map} +1 -1
  27. package/dist/tsup/{chunk-DN6MD3KK.js → chunk-DHWZTUKA.js} +2 -2
  28. package/dist/tsup/{chunk-DN6MD3KK.js.map → chunk-DHWZTUKA.js.map} +1 -1
  29. package/dist/tsup/{chunk-464WE4RF.js → chunk-DMQUERRN.js} +2 -2
  30. package/dist/tsup/{chunk-G4U5L6AX.cjs → chunk-IHKDFKM4.cjs} +3 -3
  31. package/dist/tsup/{chunk-G4U5L6AX.cjs.map → chunk-IHKDFKM4.cjs.map} +1 -1
  32. package/dist/tsup/{chunk-EO5UOXXY.cjs → chunk-NWCAIWHL.cjs} +34 -2
  33. package/dist/tsup/chunk-NWCAIWHL.cjs.map +1 -0
  34. package/dist/tsup/{chunk-7A5EIXJJ.cjs → chunk-RSIOGT2U.cjs} +7 -7
  35. package/dist/tsup/{chunk-7A5EIXJJ.cjs.map → chunk-RSIOGT2U.cjs.map} +1 -1
  36. package/dist/tsup/{chunk-4SC2NSAV.js → chunk-SNNVRHLX.js} +2 -2
  37. package/dist/tsup/{chunk-DK3L22R6.js → chunk-TZVAVPGJ.js} +4 -4
  38. package/dist/tsup/{chunk-WME6KOXW.js → chunk-W2PXGWMR.js} +2 -2
  39. package/dist/tsup/{chunk-7BRRGBRY.cjs → chunk-WAISW7KR.cjs} +10 -10
  40. package/dist/tsup/{chunk-7BRRGBRY.cjs.map → chunk-WAISW7KR.cjs.map} +1 -1
  41. package/dist/tsup/client/mod.cjs +5 -5
  42. package/dist/tsup/client/mod.d.cts +2 -2
  43. package/dist/tsup/client/mod.d.ts +2 -2
  44. package/dist/tsup/client/mod.js +4 -4
  45. package/dist/tsup/common/log.cjs +2 -2
  46. package/dist/tsup/common/log.js +1 -1
  47. package/dist/tsup/common/websocket.cjs +3 -3
  48. package/dist/tsup/common/websocket.js +2 -2
  49. package/dist/tsup/{config-DEm0yIVV.d.ts → config-Be-VOHaX.d.ts} +42 -2
  50. package/dist/tsup/{config-8n2AOhXK.d.cts → config-Ct5uXxXk.d.cts} +42 -2
  51. package/dist/tsup/{context-DGg2-IOm.d.ts → context-CXLa0BIM.d.ts} +1 -1
  52. package/dist/tsup/{context-DwjOVvlE.d.cts → context-Cw-11Q-B.d.cts} +1 -1
  53. package/dist/tsup/db/drizzle.cjs +2 -2
  54. package/dist/tsup/db/drizzle.js +1 -1
  55. package/dist/tsup/db/mod.cjs +3 -3
  56. package/dist/tsup/db/mod.js +2 -2
  57. package/dist/tsup/dynamic/mod.cjs +2 -2
  58. package/dist/tsup/dynamic/mod.d.cts +1 -1
  59. package/dist/tsup/dynamic/mod.d.ts +1 -1
  60. package/dist/tsup/dynamic/mod.js +1 -1
  61. package/dist/tsup/inspector/mod.cjs +5 -5
  62. package/dist/tsup/inspector/mod.js +4 -4
  63. package/dist/tsup/inspector/workflow.cjs +4 -4
  64. package/dist/tsup/inspector/workflow.js +3 -3
  65. package/dist/tsup/inspector-tab/mod.cjs +2 -2
  66. package/dist/tsup/inspector-tab/mod.d.cts +2 -2
  67. package/dist/tsup/inspector-tab/mod.d.ts +2 -2
  68. package/dist/tsup/inspector-tab/mod.js +1 -1
  69. package/dist/tsup/mod.cjs +115 -101
  70. package/dist/tsup/mod.cjs.map +1 -1
  71. package/dist/tsup/mod.d.cts +3 -3
  72. package/dist/tsup/mod.d.ts +3 -3
  73. package/dist/tsup/mod.js +20 -6
  74. package/dist/tsup/mod.js.map +1 -1
  75. package/dist/tsup/test/mod.cjs +6 -6
  76. package/dist/tsup/test/mod.d.cts +1 -1
  77. package/dist/tsup/test/mod.d.ts +1 -1
  78. package/dist/tsup/test/mod.js +4 -4
  79. package/dist/tsup/utils.cjs +2 -2
  80. package/dist/tsup/utils.js +1 -1
  81. package/dist/tsup/workflow/mod.cjs +10 -10
  82. package/dist/tsup/workflow/mod.d.cts +3 -3
  83. package/dist/tsup/workflow/mod.d.ts +3 -3
  84. package/dist/tsup/workflow/mod.js +5 -5
  85. package/package.json +8 -8
  86. package/src/actor/actions.ts +36 -0
  87. package/src/actor/config.ts +27 -0
  88. package/src/actor/definition.ts +6 -1
  89. package/src/actor/mod.ts +5 -0
  90. package/src/actor/tracing.ts +28 -0
  91. package/src/registry/native.ts +18 -0
  92. package/src/registry/runtime.ts +8 -0
  93. package/dist/tsup/chunk-EB77NZL4.js.map +0 -1
  94. package/dist/tsup/chunk-EO5UOXXY.cjs.map +0 -1
  95. /package/dist/tsup/{chunk-7HTST3NX.js.map → chunk-2NXLTFWI.js.map} +0 -0
  96. /package/dist/tsup/{chunk-X7RMJQGY.js.map → chunk-553CIQJY.js.map} +0 -0
  97. /package/dist/tsup/{chunk-BKX7UDTA.js.map → chunk-5G2J26VM.js.map} +0 -0
  98. /package/dist/tsup/{chunk-464WE4RF.js.map → chunk-DMQUERRN.js.map} +0 -0
  99. /package/dist/tsup/{chunk-4SC2NSAV.js.map → chunk-SNNVRHLX.js.map} +0 -0
  100. /package/dist/tsup/{chunk-DK3L22R6.js.map → chunk-TZVAVPGJ.js.map} +0 -0
  101. /package/dist/tsup/{chunk-WME6KOXW.js.map → chunk-W2PXGWMR.js.map} +0 -0
@@ -780,12 +780,19 @@ interface RuntimeSqlBatchStatement {
780
780
  interface RuntimeSqlRunResult {
781
781
  changes: number;
782
782
  }
783
+ /** Sample rates for the traces an actor starts, in the shape core takes. */
784
+ interface RuntimeActorTracingConfig {
785
+ sampler?: number;
786
+ /** Keyed by flattened, dot-separated action name. */
787
+ actions?: Record<string, number>;
788
+ }
783
789
  interface RuntimeActorConfig {
784
790
  name?: string;
785
791
  icon?: string;
786
792
  hasDatabase?: boolean;
787
793
  remoteSqlite?: boolean;
788
794
  sqliteProfiling?: SqliteProfilingOptions;
795
+ tracing?: RuntimeActorTracingConfig;
789
796
  enableActorRuntimeSocket?: boolean;
790
797
  hasState?: boolean;
791
798
  canHibernateWebsocket?: boolean;
@@ -1734,6 +1741,29 @@ type Client<A extends Registry<any>> = ClientRaw & {
1734
1741
  type AnyClient = Client<Registry<any>>;
1735
1742
  declare function createClientWithDriver<A extends Registry<any>>(driver: EngineControlClient, options?: ClientRawOptions & ActorClientRuntimeOptions): Client<A>;
1736
1743
 
1744
+ /** Sample rates keyed by action name, nested like the actor's action groups. */
1745
+ interface ActionSampleRates {
1746
+ readonly [name: string]: number | ActionSampleRates;
1747
+ }
1748
+ /**
1749
+ * {@link ActionSampleRates} limited to the actions of one actor, so a rate for
1750
+ * an action that does not exist is a compile error.
1751
+ */
1752
+ type ActionTraceSamplers<TActions> = {
1753
+ readonly [K in keyof TActions]?: TActions[K] extends (...args: never[]) => unknown ? number : ActionTraceSamplers<TActions[K]>;
1754
+ };
1755
+ /** Trace sampling for one actor definition. */
1756
+ interface ActorTracingOptions<TActions> {
1757
+ /**
1758
+ * Share of this actor's invocations that are recorded, from 0 to 1. A rate
1759
+ * lowers what is recorded and never raises it, so an invocation inside a
1760
+ * trace the caller did not record is not recorded at any rate.
1761
+ */
1762
+ readonly sampler?: number;
1763
+ /** Rates that replace `sampler` for single actions. */
1764
+ readonly actions?: ActionTraceSamplers<TActions>;
1765
+ }
1766
+
1737
1767
  declare const DEFAULT_SLEEP_GRACE_PERIOD = 15000;
1738
1768
  declare const ACTOR_CONTEXT_INTERNAL_SYMBOL: unique symbol;
1739
1769
  declare const RAW_STATE_SYMBOL: unique symbol;
@@ -2310,6 +2340,10 @@ declare const ActorConfigSchema: z.ZodObject<{
2310
2340
  onWebSocket: z.ZodOptional<z.ZodCustom<(...args: unknown[]) => unknown, (...args: unknown[]) => unknown>>;
2311
2341
  actions: z.ZodDefault<z.ZodCustom<Record<string, unknown>, Record<string, unknown>>>;
2312
2342
  actionInputSchemas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2343
+ tracing: z.ZodOptional<z.ZodObject<{
2344
+ sampler: z.ZodOptional<z.ZodNumber>;
2345
+ actions: z.ZodOptional<z.ZodType<ActionSampleRates, unknown, z.core.$ZodTypeInternals<ActionSampleRates, unknown>>>;
2346
+ }, z.core.$strict>>;
2313
2347
  connParamsSchema: z.ZodOptional<z.ZodAny>;
2314
2348
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2315
2349
  queues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -2554,6 +2588,11 @@ interface BaseActorConfig<TState, TConnParams, TConnState, TVars, TInput, TDatab
2554
2588
  * May mirror nested action groups or use dot-separated low-level action names.
2555
2589
  */
2556
2590
  actionInputSchemas?: ActionInputSchemas;
2591
+ /**
2592
+ * How much of this actor's work is recorded in traces. Defaults to the
2593
+ * process sampler from `OTEL_TRACES_SAMPLER`.
2594
+ */
2595
+ tracing?: ActorTracingOptions<TActions>;
2557
2596
  /**
2558
2597
  * Optional schema for validating connection params in native runtimes.
2559
2598
  */
@@ -2576,7 +2615,7 @@ type ActorDatabaseConfig<TDatabase extends AnyDatabaseProvider> = {
2576
2615
  type ActorConfig<TState, TConnParams, TConnState, TVars, TInput, TDatabase extends AnyDatabaseProvider, TEvents extends EventSchemaConfig = Record<never, never>, TQueues extends QueueSchemaConfig = Record<never, never>, TActions extends Actions<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues> = Actions<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues>> = Omit<z.infer<typeof ActorConfigSchema>, "actions" | "events" | "queues" | "onCreate" | "onDestroy" | "onMigrate" | "onWake" | "onSleep" | "run" | "onStateChange" | "onBeforeConnect" | "onConnect" | "onDisconnect" | "onBeforeActionResponse" | "onRequest" | "onWebSocket" | "state" | "createState" | "connState" | "createConnState" | "vars" | "createVars" | "db"> & BaseActorConfig<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues, TActions> & CreateState<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues> & CreateConnState<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues> & CreateVars<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues> & ActorDatabaseConfig<TDatabase>;
2577
2616
  type ActorConfigInput<TState = undefined, TConnParams = undefined, TConnState = undefined, TVars = undefined, TInput = undefined, TDatabase extends AnyDatabaseProvider = undefined, TEvents extends EventSchemaConfig = Record<never, never>, TQueues extends QueueSchemaConfig = Record<never, never>, TActions extends Actions<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues> = Record<never, never>> = {
2578
2617
  types?: ActorTypes<TState, TConnParams, TConnState, TVars, TInput, TDatabase>;
2579
- } & Omit<z.input<typeof ActorConfigSchema>, "actions" | "events" | "queues" | "onCreate" | "onDestroy" | "onMigrate" | "onWake" | "onSleep" | "run" | "onStateChange" | "onBeforeConnect" | "onConnect" | "onDisconnect" | "onBeforeActionResponse" | "onRequest" | "onWebSocket" | "state" | "createState" | "connState" | "createConnState" | "vars" | "createVars" | "db"> & BaseActorConfig<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues, TActions> & CreateState<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues> & CreateConnState<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues> & CreateVars<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues> & ActorDatabaseConfig<TDatabase>;
2618
+ } & Omit<z.input<typeof ActorConfigSchema>, "actions" | "tracing" | "events" | "queues" | "onCreate" | "onDestroy" | "onMigrate" | "onWake" | "onSleep" | "run" | "onStateChange" | "onBeforeConnect" | "onConnect" | "onDisconnect" | "onBeforeActionResponse" | "onRequest" | "onWebSocket" | "state" | "createState" | "connState" | "createConnState" | "vars" | "createVars" | "db"> & BaseActorConfig<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues, TActions> & CreateState<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues> & CreateConnState<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues> & CreateVars<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues> & ActorDatabaseConfig<TDatabase>;
2580
2619
  declare function test<TState, TConnParams, TConnState, TVars, TInput, TDatabase extends AnyDatabaseProvider, TEvents extends EventSchemaConfig, TQueues extends QueueSchemaConfig, TActions extends Actions<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues>>(input: ActorConfigInput<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues, TActions>): ActorConfig<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues>;
2581
2620
  declare const DocActorOptionsSchema: z.ZodObject<{
2582
2621
  name: z.ZodOptional<z.ZodString>;
@@ -2624,6 +2663,7 @@ declare const DocActorConfigSchema: z.ZodObject<{
2624
2663
  onWebSocket: z.ZodOptional<z.ZodUnknown>;
2625
2664
  actions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2626
2665
  actionInputSchemas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2666
+ tracing: z.ZodOptional<z.ZodUnknown>;
2627
2667
  connParamsSchema: z.ZodOptional<z.ZodUnknown>;
2628
2668
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2629
2669
  queues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -2652,4 +2692,4 @@ declare const DocActorConfigSchema: z.ZodObject<{
2652
2692
  }, z.core.$strip>>;
2653
2693
  }, z.core.$strip>;
2654
2694
 
2655
- export { type BaseActorInstance as $, type AnyActorDefinition as A, type BaseActorDefinition as B, type ConnectContext as C, type DestroyContext as D, type EventSchemaConfig as E, type ActorLogger as F, type ActorOptions as G, type ActorOptionsInput as H, ActorOptionsSchema as I, type ActorQuery as J, type ActorQueue as K, type ActorRun as L, type MigrateContext as M, type ActorSchedule as N, type ActorTypes as O, ActorsSchema as P, type QueueSchemaConfig as Q, type RequestContext as R, type SleepContext as S, type AnyActorInstance as T, type AnyClient as U, type AnyConn as V, type WakeContext as W, type AnyStaticActorDefinition as X, type AnyStaticActorInstance as Y, type AuthIntent as Z, BUILTIN_INSPECTOR_TAB_IDS as _, type ActionContext as a, type SqliteBackend as a$, BuiltinInspectorTabIdSchema as a0, CONN_DRIVER_SYMBOL as a1, CONN_STATE_MANAGER_SYMBOL as a2, type Client as a3, type Conn as a4, type CronFire as a5, type CronJobInfo as a6, CustomInspectorTabEntrySchema as a7, DEFAULT_SLEEP_GRACE_PERIOD as a8, type DefineRunHandlerOptions as a9, type QueueResultMessageForName as aA, type QueueTryNextBatchOptions as aB, type QueueTryNextOptions as aC, type QueueWaitOptions as aD, RAW_STATE_SYMBOL as aE, Registry as aF, type RegistryActors as aG, type RegistryApplication as aH, type RegistryConfig as aI, type RegistryConfigInput as aJ, RegistryConfigSchema as aK, type RegistryDeps as aL, type RegistryListenOptions as aM, type RegistryRoutes as aN, type RunConfig as aO, RunConfigSchema as aP, type RunControl as aQ, type RunInspectorConfig as aR, type RunInspectorFactoryContext as aS, type RunInspectorFactoryResult as aT, type RunInspectorKind as aU, type RunWithInactiveOptions as aV, type RuntimeKind as aW, RuntimeKindSchema as aX, type ScheduledEventInfo as aY, type ScheduledFireInfo as aZ, type ServerlessHandler as a_, DocActorConfigSchema as aa, DocActorOptionsSchema as ab, DocConfigurePoolSchema as ac, DocEnvoyConfigSchema as ad, DocRegistryConfigSchema as ae, DocServerlessConfigSchema as af, DocSqliteConfigSchema as ag, type FetchHandler as ah, type GlobalActorOptions as ai, type GlobalActorOptionsInput as aj, GlobalActorOptionsSchema as ak, HideInspectorTabEntrySchema as al, type InferEventArgs as am, type InferSchemaMap as an, InspectorTabEntrySchema as ao, type InspectorUnsubscribe as ap, type InstanceActorOptions as aq, type InstanceActorOptionsInput as ar, InstanceActorOptionsSchema as as, type QueueEnqueueAndWaitOptions as at, type QueueFilterName as au, type QueueIterOptions as av, type QueueMessageOf as aw, type QueueName as ax, type QueueNextBatchOptions as ay, type QueueNextOptions as az, type BeforeActionResponseContext as b, SqliteBackendSchema as b0, type SqliteConfig as b1, SqliteConfigSchema as b2, type TestConfig as b3, TestConfigSchema as b4, type Type as b5, type WasmRuntimeBindings as b6, type WasmRuntimeConfig as b7, WasmRuntimeConfigSchema as b8, type WasmRuntimeInitInput as b9, type ActorConnectOptions as bA, type ActorGatewayOptions as bB, type ActorHandle as bC, ActorHandleRaw as bD, ClientRaw as bE, type ConnectionStateCallback as bF, type CreateOptions as bG, type CreateRequest as bH, type EventUnsubscribe as bI, type ExtractActorsFromRegistry as bJ, type ExtractRegistryFromClient as bK, type GetOptions as bL, type GetWithIdOptions as bM, type QueryOptions as bN, type Region as bO, type StatusChangeCallback as bP, type WorkflowInspectorConfig as ba, type WorkflowOutcome as bb, type WorkflowSpan as bc, type WorkflowStepOutcome as bd, type WorkflowStepSpan as be, actor as bf, buildActorNames as bg, createClientWithDriver as bh, defineRunHandler as bi, disposeRunInspector as bj, event as bk, getRunFunction as bl, getRunInspectorConfig as bm, getRunMetadata as bn, isStaticActorDefinition as bo, isStaticActorInstance as bp, lookupInRegistry as bq, queue as br, setup as bs, test as bt, type ActorAccessor as bu, type ActorActionFunction as bv, type ActorActionOptions as bw, type ActorConn as bx, ActorConnRaw as by, type ActorConnStatus as bz, type BeforeConnectContext as c, type CreateConnStateContext as d, type CreateContext as e, type CreateVarsContext as f, type DisconnectContext as g, type RunContext as h, type StateChangeContext as i, type WebSocketContext as j, ACTOR_CONTEXT_INTERNAL_SYMBOL as k, type ActionInputSchemas as l, type Actions as m, type ActorConfig as n, type ActorConfigInput as o, ActorConfigSchema as p, type ActorContext as q, type ActorContextOf as r, type ActorCron as s, type ActorCronEveryOptions as t, type ActorCronSetOptions as u, ActorDefinition as v, type ActorInspectorConfig as w, ActorInspectorConfigSchema as x, type ActorKey as y, type ActorKv as z };
2695
+ export { type AnyStaticActorInstance as $, type AnyActorDefinition as A, type BaseActorDefinition as B, type ConnectContext as C, type DestroyContext as D, type EventSchemaConfig as E, type ActorKey as F, type ActorKv as G, type ActorLogger as H, type ActorOptions as I, type ActorOptionsInput as J, ActorOptionsSchema as K, type ActorQuery as L, type MigrateContext as M, type ActorQueue as N, type ActorRun as O, type ActorSchedule as P, type QueueSchemaConfig as Q, type RequestContext as R, type SleepContext as S, type ActorTracingOptions as T, type ActorTypes as U, ActorsSchema as V, type WakeContext as W, type AnyActorInstance as X, type AnyClient as Y, type AnyConn as Z, type AnyStaticActorDefinition as _, type ActionContext as a, type ScheduledEventInfo as a$, type AuthIntent as a0, BUILTIN_INSPECTOR_TAB_IDS as a1, type BaseActorInstance as a2, BuiltinInspectorTabIdSchema as a3, CONN_DRIVER_SYMBOL as a4, CONN_STATE_MANAGER_SYMBOL as a5, type Client as a6, type Conn as a7, type CronFire as a8, type CronJobInfo as a9, type QueueName as aA, type QueueNextBatchOptions as aB, type QueueNextOptions as aC, type QueueResultMessageForName as aD, type QueueTryNextBatchOptions as aE, type QueueTryNextOptions as aF, type QueueWaitOptions as aG, RAW_STATE_SYMBOL as aH, Registry as aI, type RegistryActors as aJ, type RegistryApplication as aK, type RegistryConfig as aL, type RegistryConfigInput as aM, RegistryConfigSchema as aN, type RegistryDeps as aO, type RegistryListenOptions as aP, type RegistryRoutes as aQ, type RunConfig as aR, RunConfigSchema as aS, type RunControl as aT, type RunInspectorConfig as aU, type RunInspectorFactoryContext as aV, type RunInspectorFactoryResult as aW, type RunInspectorKind as aX, type RunWithInactiveOptions as aY, type RuntimeKind as aZ, RuntimeKindSchema as a_, CustomInspectorTabEntrySchema as aa, DEFAULT_SLEEP_GRACE_PERIOD as ab, type DefineRunHandlerOptions as ac, DocActorConfigSchema as ad, DocActorOptionsSchema as ae, DocConfigurePoolSchema as af, DocEnvoyConfigSchema as ag, DocRegistryConfigSchema as ah, DocServerlessConfigSchema as ai, DocSqliteConfigSchema as aj, type FetchHandler as ak, type GlobalActorOptions as al, type GlobalActorOptionsInput as am, GlobalActorOptionsSchema as an, HideInspectorTabEntrySchema as ao, type InferEventArgs as ap, type InferSchemaMap as aq, InspectorTabEntrySchema as ar, type InspectorUnsubscribe as as, type InstanceActorOptions as at, type InstanceActorOptionsInput as au, InstanceActorOptionsSchema as av, type QueueEnqueueAndWaitOptions as aw, type QueueFilterName as ax, type QueueIterOptions as ay, type QueueMessageOf as az, type BeforeActionResponseContext as b, type ScheduledFireInfo as b0, type ServerlessHandler as b1, type SqliteBackend as b2, SqliteBackendSchema as b3, type SqliteConfig as b4, SqliteConfigSchema as b5, type TestConfig as b6, TestConfigSchema as b7, type Type as b8, type WasmRuntimeBindings 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 WasmRuntimeConfig as ba, WasmRuntimeConfigSchema as bb, type WasmRuntimeInitInput as bc, type WorkflowInspectorConfig as bd, type WorkflowOutcome as be, type WorkflowSpan as bf, type WorkflowStepOutcome as bg, type WorkflowStepSpan as bh, actor as bi, buildActorNames as bj, createClientWithDriver as bk, defineRunHandler as bl, disposeRunInspector as bm, event as bn, getRunFunction as bo, getRunInspectorConfig as bp, getRunMetadata as bq, isStaticActorDefinition as br, isStaticActorInstance as bs, lookupInRegistry as bt, queue as bu, setup as bv, test as bw, type ActorAccessor as bx, type ActorActionFunction as by, type ActorActionOptions as bz, type BeforeConnectContext as c, type CreateConnStateContext as d, type CreateContext as e, type CreateVarsContext as f, type DisconnectContext as g, type RunContext as h, type StateChangeContext as i, type WebSocketContext as j, ACTOR_CONTEXT_INTERNAL_SYMBOL as k, type ActionInputSchemas as l, type ActionSampleRates as m, type ActionTraceSamplers as n, type Actions as o, type ActorConfig as p, type ActorConfigInput as q, ActorConfigSchema as r, type ActorContext as s, type ActorContextOf as t, type ActorCron as u, type ActorCronEveryOptions as v, type ActorCronSetOptions as w, ActorDefinition as x, type ActorInspectorConfig as y, ActorInspectorConfigSchema as z };
@@ -780,12 +780,19 @@ interface RuntimeSqlBatchStatement {
780
780
  interface RuntimeSqlRunResult {
781
781
  changes: number;
782
782
  }
783
+ /** Sample rates for the traces an actor starts, in the shape core takes. */
784
+ interface RuntimeActorTracingConfig {
785
+ sampler?: number;
786
+ /** Keyed by flattened, dot-separated action name. */
787
+ actions?: Record<string, number>;
788
+ }
783
789
  interface RuntimeActorConfig {
784
790
  name?: string;
785
791
  icon?: string;
786
792
  hasDatabase?: boolean;
787
793
  remoteSqlite?: boolean;
788
794
  sqliteProfiling?: SqliteProfilingOptions;
795
+ tracing?: RuntimeActorTracingConfig;
789
796
  enableActorRuntimeSocket?: boolean;
790
797
  hasState?: boolean;
791
798
  canHibernateWebsocket?: boolean;
@@ -1734,6 +1741,29 @@ type Client<A extends Registry<any>> = ClientRaw & {
1734
1741
  type AnyClient = Client<Registry<any>>;
1735
1742
  declare function createClientWithDriver<A extends Registry<any>>(driver: EngineControlClient, options?: ClientRawOptions & ActorClientRuntimeOptions): Client<A>;
1736
1743
 
1744
+ /** Sample rates keyed by action name, nested like the actor's action groups. */
1745
+ interface ActionSampleRates {
1746
+ readonly [name: string]: number | ActionSampleRates;
1747
+ }
1748
+ /**
1749
+ * {@link ActionSampleRates} limited to the actions of one actor, so a rate for
1750
+ * an action that does not exist is a compile error.
1751
+ */
1752
+ type ActionTraceSamplers<TActions> = {
1753
+ readonly [K in keyof TActions]?: TActions[K] extends (...args: never[]) => unknown ? number : ActionTraceSamplers<TActions[K]>;
1754
+ };
1755
+ /** Trace sampling for one actor definition. */
1756
+ interface ActorTracingOptions<TActions> {
1757
+ /**
1758
+ * Share of this actor's invocations that are recorded, from 0 to 1. A rate
1759
+ * lowers what is recorded and never raises it, so an invocation inside a
1760
+ * trace the caller did not record is not recorded at any rate.
1761
+ */
1762
+ readonly sampler?: number;
1763
+ /** Rates that replace `sampler` for single actions. */
1764
+ readonly actions?: ActionTraceSamplers<TActions>;
1765
+ }
1766
+
1737
1767
  declare const DEFAULT_SLEEP_GRACE_PERIOD = 15000;
1738
1768
  declare const ACTOR_CONTEXT_INTERNAL_SYMBOL: unique symbol;
1739
1769
  declare const RAW_STATE_SYMBOL: unique symbol;
@@ -2310,6 +2340,10 @@ declare const ActorConfigSchema: z.ZodObject<{
2310
2340
  onWebSocket: z.ZodOptional<z.ZodCustom<(...args: unknown[]) => unknown, (...args: unknown[]) => unknown>>;
2311
2341
  actions: z.ZodDefault<z.ZodCustom<Record<string, unknown>, Record<string, unknown>>>;
2312
2342
  actionInputSchemas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2343
+ tracing: z.ZodOptional<z.ZodObject<{
2344
+ sampler: z.ZodOptional<z.ZodNumber>;
2345
+ actions: z.ZodOptional<z.ZodType<ActionSampleRates, unknown, z.core.$ZodTypeInternals<ActionSampleRates, unknown>>>;
2346
+ }, z.core.$strict>>;
2313
2347
  connParamsSchema: z.ZodOptional<z.ZodAny>;
2314
2348
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2315
2349
  queues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -2554,6 +2588,11 @@ interface BaseActorConfig<TState, TConnParams, TConnState, TVars, TInput, TDatab
2554
2588
  * May mirror nested action groups or use dot-separated low-level action names.
2555
2589
  */
2556
2590
  actionInputSchemas?: ActionInputSchemas;
2591
+ /**
2592
+ * How much of this actor's work is recorded in traces. Defaults to the
2593
+ * process sampler from `OTEL_TRACES_SAMPLER`.
2594
+ */
2595
+ tracing?: ActorTracingOptions<TActions>;
2557
2596
  /**
2558
2597
  * Optional schema for validating connection params in native runtimes.
2559
2598
  */
@@ -2576,7 +2615,7 @@ type ActorDatabaseConfig<TDatabase extends AnyDatabaseProvider> = {
2576
2615
  type ActorConfig<TState, TConnParams, TConnState, TVars, TInput, TDatabase extends AnyDatabaseProvider, TEvents extends EventSchemaConfig = Record<never, never>, TQueues extends QueueSchemaConfig = Record<never, never>, TActions extends Actions<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues> = Actions<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues>> = Omit<z.infer<typeof ActorConfigSchema>, "actions" | "events" | "queues" | "onCreate" | "onDestroy" | "onMigrate" | "onWake" | "onSleep" | "run" | "onStateChange" | "onBeforeConnect" | "onConnect" | "onDisconnect" | "onBeforeActionResponse" | "onRequest" | "onWebSocket" | "state" | "createState" | "connState" | "createConnState" | "vars" | "createVars" | "db"> & BaseActorConfig<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues, TActions> & CreateState<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues> & CreateConnState<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues> & CreateVars<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues> & ActorDatabaseConfig<TDatabase>;
2577
2616
  type ActorConfigInput<TState = undefined, TConnParams = undefined, TConnState = undefined, TVars = undefined, TInput = undefined, TDatabase extends AnyDatabaseProvider = undefined, TEvents extends EventSchemaConfig = Record<never, never>, TQueues extends QueueSchemaConfig = Record<never, never>, TActions extends Actions<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues> = Record<never, never>> = {
2578
2617
  types?: ActorTypes<TState, TConnParams, TConnState, TVars, TInput, TDatabase>;
2579
- } & Omit<z.input<typeof ActorConfigSchema>, "actions" | "events" | "queues" | "onCreate" | "onDestroy" | "onMigrate" | "onWake" | "onSleep" | "run" | "onStateChange" | "onBeforeConnect" | "onConnect" | "onDisconnect" | "onBeforeActionResponse" | "onRequest" | "onWebSocket" | "state" | "createState" | "connState" | "createConnState" | "vars" | "createVars" | "db"> & BaseActorConfig<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues, TActions> & CreateState<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues> & CreateConnState<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues> & CreateVars<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues> & ActorDatabaseConfig<TDatabase>;
2618
+ } & Omit<z.input<typeof ActorConfigSchema>, "actions" | "tracing" | "events" | "queues" | "onCreate" | "onDestroy" | "onMigrate" | "onWake" | "onSleep" | "run" | "onStateChange" | "onBeforeConnect" | "onConnect" | "onDisconnect" | "onBeforeActionResponse" | "onRequest" | "onWebSocket" | "state" | "createState" | "connState" | "createConnState" | "vars" | "createVars" | "db"> & BaseActorConfig<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues, TActions> & CreateState<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues> & CreateConnState<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues> & CreateVars<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues> & ActorDatabaseConfig<TDatabase>;
2580
2619
  declare function test<TState, TConnParams, TConnState, TVars, TInput, TDatabase extends AnyDatabaseProvider, TEvents extends EventSchemaConfig, TQueues extends QueueSchemaConfig, TActions extends Actions<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues>>(input: ActorConfigInput<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues, TActions>): ActorConfig<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues>;
2581
2620
  declare const DocActorOptionsSchema: z.ZodObject<{
2582
2621
  name: z.ZodOptional<z.ZodString>;
@@ -2624,6 +2663,7 @@ declare const DocActorConfigSchema: z.ZodObject<{
2624
2663
  onWebSocket: z.ZodOptional<z.ZodUnknown>;
2625
2664
  actions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2626
2665
  actionInputSchemas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2666
+ tracing: z.ZodOptional<z.ZodUnknown>;
2627
2667
  connParamsSchema: z.ZodOptional<z.ZodUnknown>;
2628
2668
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2629
2669
  queues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -2652,4 +2692,4 @@ declare const DocActorConfigSchema: z.ZodObject<{
2652
2692
  }, z.core.$strip>>;
2653
2693
  }, z.core.$strip>;
2654
2694
 
2655
- export { type BaseActorInstance as $, type AnyActorDefinition as A, type BaseActorDefinition as B, type ConnectContext as C, type DestroyContext as D, type EventSchemaConfig as E, type ActorLogger as F, type ActorOptions as G, type ActorOptionsInput as H, ActorOptionsSchema as I, type ActorQuery as J, type ActorQueue as K, type ActorRun as L, type MigrateContext as M, type ActorSchedule as N, type ActorTypes as O, ActorsSchema as P, type QueueSchemaConfig as Q, type RequestContext as R, type SleepContext as S, type AnyActorInstance as T, type AnyClient as U, type AnyConn as V, type WakeContext as W, type AnyStaticActorDefinition as X, type AnyStaticActorInstance as Y, type AuthIntent as Z, BUILTIN_INSPECTOR_TAB_IDS as _, type ActionContext as a, type SqliteBackend as a$, BuiltinInspectorTabIdSchema as a0, CONN_DRIVER_SYMBOL as a1, CONN_STATE_MANAGER_SYMBOL as a2, type Client as a3, type Conn as a4, type CronFire as a5, type CronJobInfo as a6, CustomInspectorTabEntrySchema as a7, DEFAULT_SLEEP_GRACE_PERIOD as a8, type DefineRunHandlerOptions as a9, type QueueResultMessageForName as aA, type QueueTryNextBatchOptions as aB, type QueueTryNextOptions as aC, type QueueWaitOptions as aD, RAW_STATE_SYMBOL as aE, Registry as aF, type RegistryActors as aG, type RegistryApplication as aH, type RegistryConfig as aI, type RegistryConfigInput as aJ, RegistryConfigSchema as aK, type RegistryDeps as aL, type RegistryListenOptions as aM, type RegistryRoutes as aN, type RunConfig as aO, RunConfigSchema as aP, type RunControl as aQ, type RunInspectorConfig as aR, type RunInspectorFactoryContext as aS, type RunInspectorFactoryResult as aT, type RunInspectorKind as aU, type RunWithInactiveOptions as aV, type RuntimeKind as aW, RuntimeKindSchema as aX, type ScheduledEventInfo as aY, type ScheduledFireInfo as aZ, type ServerlessHandler as a_, DocActorConfigSchema as aa, DocActorOptionsSchema as ab, DocConfigurePoolSchema as ac, DocEnvoyConfigSchema as ad, DocRegistryConfigSchema as ae, DocServerlessConfigSchema as af, DocSqliteConfigSchema as ag, type FetchHandler as ah, type GlobalActorOptions as ai, type GlobalActorOptionsInput as aj, GlobalActorOptionsSchema as ak, HideInspectorTabEntrySchema as al, type InferEventArgs as am, type InferSchemaMap as an, InspectorTabEntrySchema as ao, type InspectorUnsubscribe as ap, type InstanceActorOptions as aq, type InstanceActorOptionsInput as ar, InstanceActorOptionsSchema as as, type QueueEnqueueAndWaitOptions as at, type QueueFilterName as au, type QueueIterOptions as av, type QueueMessageOf as aw, type QueueName as ax, type QueueNextBatchOptions as ay, type QueueNextOptions as az, type BeforeActionResponseContext as b, SqliteBackendSchema as b0, type SqliteConfig as b1, SqliteConfigSchema as b2, type TestConfig as b3, TestConfigSchema as b4, type Type as b5, type WasmRuntimeBindings as b6, type WasmRuntimeConfig as b7, WasmRuntimeConfigSchema as b8, type WasmRuntimeInitInput as b9, type ActorConnectOptions as bA, type ActorGatewayOptions as bB, type ActorHandle as bC, ActorHandleRaw as bD, ClientRaw as bE, type ConnectionStateCallback as bF, type CreateOptions as bG, type CreateRequest as bH, type EventUnsubscribe as bI, type ExtractActorsFromRegistry as bJ, type ExtractRegistryFromClient as bK, type GetOptions as bL, type GetWithIdOptions as bM, type QueryOptions as bN, type Region as bO, type StatusChangeCallback as bP, type WorkflowInspectorConfig as ba, type WorkflowOutcome as bb, type WorkflowSpan as bc, type WorkflowStepOutcome as bd, type WorkflowStepSpan as be, actor as bf, buildActorNames as bg, createClientWithDriver as bh, defineRunHandler as bi, disposeRunInspector as bj, event as bk, getRunFunction as bl, getRunInspectorConfig as bm, getRunMetadata as bn, isStaticActorDefinition as bo, isStaticActorInstance as bp, lookupInRegistry as bq, queue as br, setup as bs, test as bt, type ActorAccessor as bu, type ActorActionFunction as bv, type ActorActionOptions as bw, type ActorConn as bx, ActorConnRaw as by, type ActorConnStatus as bz, type BeforeConnectContext as c, type CreateConnStateContext as d, type CreateContext as e, type CreateVarsContext as f, type DisconnectContext as g, type RunContext as h, type StateChangeContext as i, type WebSocketContext as j, ACTOR_CONTEXT_INTERNAL_SYMBOL as k, type ActionInputSchemas as l, type Actions as m, type ActorConfig as n, type ActorConfigInput as o, ActorConfigSchema as p, type ActorContext as q, type ActorContextOf as r, type ActorCron as s, type ActorCronEveryOptions as t, type ActorCronSetOptions as u, ActorDefinition as v, type ActorInspectorConfig as w, ActorInspectorConfigSchema as x, type ActorKey as y, type ActorKv as z };
2695
+ export { type AnyStaticActorInstance as $, type AnyActorDefinition as A, type BaseActorDefinition as B, type ConnectContext as C, type DestroyContext as D, type EventSchemaConfig as E, type ActorKey as F, type ActorKv as G, type ActorLogger as H, type ActorOptions as I, type ActorOptionsInput as J, ActorOptionsSchema as K, type ActorQuery as L, type MigrateContext as M, type ActorQueue as N, type ActorRun as O, type ActorSchedule as P, type QueueSchemaConfig as Q, type RequestContext as R, type SleepContext as S, type ActorTracingOptions as T, type ActorTypes as U, ActorsSchema as V, type WakeContext as W, type AnyActorInstance as X, type AnyClient as Y, type AnyConn as Z, type AnyStaticActorDefinition as _, type ActionContext as a, type ScheduledEventInfo as a$, type AuthIntent as a0, BUILTIN_INSPECTOR_TAB_IDS as a1, type BaseActorInstance as a2, BuiltinInspectorTabIdSchema as a3, CONN_DRIVER_SYMBOL as a4, CONN_STATE_MANAGER_SYMBOL as a5, type Client as a6, type Conn as a7, type CronFire as a8, type CronJobInfo as a9, type QueueName as aA, type QueueNextBatchOptions as aB, type QueueNextOptions as aC, type QueueResultMessageForName as aD, type QueueTryNextBatchOptions as aE, type QueueTryNextOptions as aF, type QueueWaitOptions as aG, RAW_STATE_SYMBOL as aH, Registry as aI, type RegistryActors as aJ, type RegistryApplication as aK, type RegistryConfig as aL, type RegistryConfigInput as aM, RegistryConfigSchema as aN, type RegistryDeps as aO, type RegistryListenOptions as aP, type RegistryRoutes as aQ, type RunConfig as aR, RunConfigSchema as aS, type RunControl as aT, type RunInspectorConfig as aU, type RunInspectorFactoryContext as aV, type RunInspectorFactoryResult as aW, type RunInspectorKind as aX, type RunWithInactiveOptions as aY, type RuntimeKind as aZ, RuntimeKindSchema as a_, CustomInspectorTabEntrySchema as aa, DEFAULT_SLEEP_GRACE_PERIOD as ab, type DefineRunHandlerOptions as ac, DocActorConfigSchema as ad, DocActorOptionsSchema as ae, DocConfigurePoolSchema as af, DocEnvoyConfigSchema as ag, DocRegistryConfigSchema as ah, DocServerlessConfigSchema as ai, DocSqliteConfigSchema as aj, type FetchHandler as ak, type GlobalActorOptions as al, type GlobalActorOptionsInput as am, GlobalActorOptionsSchema as an, HideInspectorTabEntrySchema as ao, type InferEventArgs as ap, type InferSchemaMap as aq, InspectorTabEntrySchema as ar, type InspectorUnsubscribe as as, type InstanceActorOptions as at, type InstanceActorOptionsInput as au, InstanceActorOptionsSchema as av, type QueueEnqueueAndWaitOptions as aw, type QueueFilterName as ax, type QueueIterOptions as ay, type QueueMessageOf as az, type BeforeActionResponseContext as b, type ScheduledFireInfo as b0, type ServerlessHandler as b1, type SqliteBackend as b2, SqliteBackendSchema as b3, type SqliteConfig as b4, SqliteConfigSchema as b5, type TestConfig as b6, TestConfigSchema as b7, type Type as b8, type WasmRuntimeBindings 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 WasmRuntimeConfig as ba, WasmRuntimeConfigSchema as bb, type WasmRuntimeInitInput as bc, type WorkflowInspectorConfig as bd, type WorkflowOutcome as be, type WorkflowSpan as bf, type WorkflowStepOutcome as bg, type WorkflowStepSpan as bh, actor as bi, buildActorNames as bj, createClientWithDriver as bk, defineRunHandler as bl, disposeRunInspector as bm, event as bn, getRunFunction as bo, getRunInspectorConfig as bp, getRunMetadata as bq, isStaticActorDefinition as br, isStaticActorInstance as bs, lookupInRegistry as bt, queue as bu, setup as bv, test as bw, type ActorAccessor as bx, type ActorActionFunction as by, type ActorActionOptions as bz, type BeforeConnectContext as c, type CreateConnStateContext as d, type CreateContext as e, type CreateVarsContext as f, type DisconnectContext as g, type RunContext as h, type StateChangeContext as i, type WebSocketContext as j, ACTOR_CONTEXT_INTERNAL_SYMBOL as k, type ActionInputSchemas as l, type ActionSampleRates as m, type ActionTraceSamplers as n, type Actions as o, type ActorConfig as p, type ActorConfigInput as q, ActorConfigSchema as r, type ActorContext as s, type ActorContextOf as t, type ActorCron as u, type ActorCronEveryOptions as v, type ActorCronSetOptions as w, ActorDefinition as x, type ActorInspectorConfig as y, ActorInspectorConfigSchema as z };
@@ -1,4 +1,4 @@
1
- import { A as AnyActorDefinition, B as BaseActorDefinition, E as EventSchemaConfig, Q as QueueSchemaConfig, h as RunContext, F as ActorLogger, au as QueueFilterName, az as QueueNextOptions, aA as QueueResultMessageForName, ay as QueueNextBatchOptions, aF as Registry, a3 as Client, am as InferEventArgs, an as InferSchemaMap } from './config-DEm0yIVV.js';
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-Be-VOHaX.js';
2
2
  import { WorkflowContextInterface, StepConfig, TryStepResult, TryStepConfig, TryBlockResult, TryBlockConfig, LoopResult, LoopConfig, BranchConfig, BranchOutput, EntryKindType } from '@rivetkit/workflow-engine';
3
3
  import { A as AnyDatabaseProvider, I as InferDatabaseClient } from './config-ey2I2zz5.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { A as AnyActorDefinition, B as BaseActorDefinition, E as EventSchemaConfig, Q as QueueSchemaConfig, h as RunContext, F as ActorLogger, au as QueueFilterName, az as QueueNextOptions, aA as QueueResultMessageForName, ay as QueueNextBatchOptions, aF as Registry, a3 as Client, am as InferEventArgs, an as InferSchemaMap } from './config-8n2AOhXK.cjs';
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-Ct5uXxXk.cjs';
2
2
  import { WorkflowContextInterface, StepConfig, TryStepResult, TryStepConfig, TryBlockResult, TryBlockConfig, LoopResult, LoopConfig, BranchConfig, BranchOutput, EntryKindType } from '@rivetkit/workflow-engine';
3
3
  import { A as AnyDatabaseProvider, I as InferDatabaseClient } from './config-ey2I2zz5.cjs';
4
4
 
@@ -7,7 +7,7 @@
7
7
  var _chunkKVFIONKQcjs = require('../chunk-KVFIONKQ.cjs');
8
8
 
9
9
 
10
- var _chunkRJC5O2SDcjs = require('../chunk-RJC5O2SD.cjs');
10
+ var _chunk2CE5UNWKcjs = require('../chunk-2CE5UNWK.cjs');
11
11
  require('../chunk-JX2ITWAV.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
- _chunkRJC5O2SDcjs.getLogger.call(void 0, "database").warn(
167
+ _chunk2CE5UNWKcjs.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
  );
@@ -7,7 +7,7 @@ import {
7
7
  } from "../chunk-JTHHCZCZ.js";
8
8
  import {
9
9
  getLogger
10
- } from "../chunk-DN6MD3KK.js";
10
+ } from "../chunk-DHWZTUKA.js";
11
11
  import "../chunk-P2OFXH4G.js";
12
12
 
13
13
  // src/db/drizzle.ts
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkZ4RAXFSDcjs = require('../chunk-Z4RAXFSD.cjs');
3
+ var _chunkCVLNRT7Ocjs = require('../chunk-CVLNRT7O.cjs');
4
4
  require('../chunk-KVFIONKQ.cjs');
5
- require('../chunk-RJC5O2SD.cjs');
5
+ require('../chunk-2CE5UNWK.cjs');
6
6
  require('../chunk-JX2ITWAV.cjs');
7
7
 
8
8
 
9
- exports.db = _chunkZ4RAXFSDcjs.db;
9
+ exports.db = _chunkCVLNRT7Ocjs.db;
10
10
  //# sourceMappingURL=mod.cjs.map
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  db
3
- } from "../chunk-WME6KOXW.js";
3
+ } from "../chunk-W2PXGWMR.js";
4
4
  import "../chunk-JTHHCZCZ.js";
5
- import "../chunk-DN6MD3KK.js";
5
+ import "../chunk-DHWZTUKA.js";
6
6
  import "../chunk-P2OFXH4G.js";
7
7
  export {
8
8
  db
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkEO5UOXXYcjs = require('../chunk-EO5UOXXY.cjs');
3
+ var _chunkNWCAIWHLcjs = require('../chunk-NWCAIWHL.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 = _chunkEO5UOXXYcjs.ActorConfigSchema.parse({
12
+ const config = _chunkNWCAIWHLcjs.ActorConfigSchema.parse({
13
13
  actions: {}
14
14
  });
15
15
  return {
@@ -1,4 +1,4 @@
1
- import { A as AnyActorDefinition } from '../config-8n2AOhXK.cjs';
1
+ import { A as AnyActorDefinition } from '../config-Ct5uXxXk.cjs';
2
2
  import 'zod/v4';
3
3
  import '../config-ey2I2zz5.cjs';
4
4
  import '@rivetkit/rivetkit-wasm';
@@ -1,4 +1,4 @@
1
- import { A as AnyActorDefinition } from '../config-DEm0yIVV.js';
1
+ import { A as AnyActorDefinition } from '../config-Be-VOHaX.js';
2
2
  import 'zod/v4';
3
3
  import '../config-ey2I2zz5.js';
4
4
  import '@rivetkit/rivetkit-wasm';
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ActorConfigSchema
3
- } from "../chunk-EB77NZL4.js";
3
+ } from "../chunk-CSOHAAZK.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 _chunk7BRRGBRYcjs = require('../chunk-7BRRGBRY.cjs');
4
- require('../chunk-G4U5L6AX.cjs');
3
+ var _chunkWAISW7KRcjs = require('../chunk-WAISW7KR.cjs');
4
+ require('../chunk-IHKDFKM4.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkPPEIPCW4cjs = require('../chunk-PPEIPCW4.cjs');
9
- require('../chunk-RJC5O2SD.cjs');
8
+ var _chunk76YTS32Rcjs = require('../chunk-76YTS32R.cjs');
9
+ require('../chunk-2CE5UNWK.cjs');
10
10
  require('../chunk-JX2ITWAV.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 = _chunk7BRRGBRYcjs.createWorkflowInspectorAdapter; exports.decodeToClient = decodeToClient; exports.decodeToServer = decodeToServer; exports.decodeWorkflowHistoryTransport = _chunkPPEIPCW4cjs.decodeWorkflowHistoryTransport; exports.encodeToClient = encodeToClient; exports.encodeToServer = encodeToServer; exports.encodeWorkflowHistoryTransport = _chunkPPEIPCW4cjs.encodeWorkflowHistoryTransport; exports.readActionRequest = readActionRequest; exports.readActionResponse = readActionResponse; exports.readConnection = readConnection; exports.readConnectionsRequest = readConnectionsRequest; exports.readConnectionsResponse = readConnectionsResponse; exports.readConnectionsUpdated = readConnectionsUpdated; exports.readDatabaseSchemaRequest = readDatabaseSchemaRequest; exports.readDatabaseSchemaResponse = readDatabaseSchemaResponse; exports.readDatabaseTableRowsRequest = readDatabaseTableRowsRequest; exports.readDatabaseTableRowsResponse = readDatabaseTableRowsResponse; exports.readError = readError; exports.readInit = readInit; exports.readPatchStateRequest = readPatchStateRequest; exports.readQueueMessageSummary = readQueueMessageSummary; exports.readQueueRequest = readQueueRequest; exports.readQueueResponse = readQueueResponse; exports.readQueueStatus = readQueueStatus; exports.readQueueUpdated = readQueueUpdated; exports.readRpcsListRequest = readRpcsListRequest; exports.readRpcsListResponse = readRpcsListResponse; exports.readState = readState; exports.readStateRequest = readStateRequest; exports.readStateResponse = readStateResponse; exports.readStateUpdated = readStateUpdated; exports.readTabConfigEntry = readTabConfigEntry; exports.readToClient = readToClient; exports.readToClientBody = readToClientBody; exports.readToServer = readToServer; exports.readToServerBody = readToServerBody; exports.readTraceQueryRequest = readTraceQueryRequest; exports.readTraceQueryResponse = readTraceQueryResponse; exports.readWorkflowHistory = readWorkflowHistory; exports.readWorkflowHistoryRequest = readWorkflowHistoryRequest; exports.readWorkflowHistoryResponse = readWorkflowHistoryResponse; exports.readWorkflowHistoryUpdated = readWorkflowHistoryUpdated; exports.readWorkflowReplayRequest = readWorkflowReplayRequest; exports.readWorkflowReplayResponse = readWorkflowReplayResponse; exports.writeActionRequest = writeActionRequest; exports.writeActionResponse = writeActionResponse; exports.writeConnection = writeConnection; exports.writeConnectionsRequest = writeConnectionsRequest; exports.writeConnectionsResponse = writeConnectionsResponse; exports.writeConnectionsUpdated = writeConnectionsUpdated; exports.writeDatabaseSchemaRequest = writeDatabaseSchemaRequest; exports.writeDatabaseSchemaResponse = writeDatabaseSchemaResponse; exports.writeDatabaseTableRowsRequest = writeDatabaseTableRowsRequest; exports.writeDatabaseTableRowsResponse = writeDatabaseTableRowsResponse; exports.writeError = writeError; exports.writeInit = writeInit; exports.writePatchStateRequest = writePatchStateRequest; exports.writeQueueMessageSummary = writeQueueMessageSummary; exports.writeQueueRequest = writeQueueRequest; exports.writeQueueResponse = writeQueueResponse; exports.writeQueueStatus = writeQueueStatus; exports.writeQueueUpdated = writeQueueUpdated; exports.writeRpcsListRequest = writeRpcsListRequest; exports.writeRpcsListResponse = writeRpcsListResponse; exports.writeState = writeState; exports.writeStateRequest = writeStateRequest; exports.writeStateResponse = writeStateResponse; exports.writeStateUpdated = writeStateUpdated; exports.writeTabConfigEntry = writeTabConfigEntry; exports.writeToClient = writeToClient; exports.writeToClientBody = writeToClientBody; exports.writeToServer = writeToServer; exports.writeToServerBody = writeToServerBody; exports.writeTraceQueryRequest = writeTraceQueryRequest; exports.writeTraceQueryResponse = writeTraceQueryResponse; exports.writeWorkflowHistory = writeWorkflowHistory; exports.writeWorkflowHistoryRequest = writeWorkflowHistoryRequest; exports.writeWorkflowHistoryResponse = writeWorkflowHistoryResponse; exports.writeWorkflowHistoryUpdated = writeWorkflowHistoryUpdated; exports.writeWorkflowReplayRequest = writeWorkflowReplayRequest; exports.writeWorkflowReplayResponse = writeWorkflowReplayResponse;
799
+ exports.createWorkflowInspectorAdapter = _chunkWAISW7KRcjs.createWorkflowInspectorAdapter; exports.decodeToClient = decodeToClient; exports.decodeToServer = decodeToServer; exports.decodeWorkflowHistoryTransport = _chunk76YTS32Rcjs.decodeWorkflowHistoryTransport; exports.encodeToClient = encodeToClient; exports.encodeToServer = encodeToServer; exports.encodeWorkflowHistoryTransport = _chunk76YTS32Rcjs.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-DK3L22R6.js";
4
- import "../chunk-464WE4RF.js";
3
+ } from "../chunk-TZVAVPGJ.js";
4
+ import "../chunk-DMQUERRN.js";
5
5
  import {
6
6
  decodeWorkflowHistoryTransport,
7
7
  encodeWorkflowHistoryTransport
8
- } from "../chunk-4SC2NSAV.js";
9
- import "../chunk-DN6MD3KK.js";
8
+ } from "../chunk-SNNVRHLX.js";
9
+ import "../chunk-DHWZTUKA.js";
10
10
  import "../chunk-P2OFXH4G.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 _chunkG4U5L6AXcjs = require('../chunk-G4U5L6AX.cjs');
3
+ var _chunkIHKDFKM4cjs = require('../chunk-IHKDFKM4.cjs');
4
4
 
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
- var _chunkPPEIPCW4cjs = require('../chunk-PPEIPCW4.cjs');
11
- require('../chunk-RJC5O2SD.cjs');
10
+ var _chunk76YTS32Rcjs = require('../chunk-76YTS32R.cjs');
11
+ require('../chunk-2CE5UNWK.cjs');
12
12
  require('../chunk-JX2ITWAV.cjs');
13
13
 
14
14
 
@@ -17,5 +17,5 @@ require('../chunk-JX2ITWAV.cjs');
17
17
 
18
18
 
19
19
 
20
- exports.WorkflowBranchStatusType = _chunkPPEIPCW4cjs.WorkflowBranchStatusType; exports.WorkflowEntryStatus = _chunkPPEIPCW4cjs.WorkflowEntryStatus; exports.WorkflowSleepState = _chunkPPEIPCW4cjs.WorkflowSleepState; exports.decodeWorkflowHistoryTransport = _chunkPPEIPCW4cjs.decodeWorkflowHistoryTransport; exports.encodeWorkflowHistoryTransport = _chunkPPEIPCW4cjs.encodeWorkflowHistoryTransport; exports.encodeWorkflowInspectorValue = _chunkG4U5L6AXcjs.encodeWorkflowInspectorValue;
20
+ exports.WorkflowBranchStatusType = _chunk76YTS32Rcjs.WorkflowBranchStatusType; exports.WorkflowEntryStatus = _chunk76YTS32Rcjs.WorkflowEntryStatus; exports.WorkflowSleepState = _chunk76YTS32Rcjs.WorkflowSleepState; exports.decodeWorkflowHistoryTransport = _chunk76YTS32Rcjs.decodeWorkflowHistoryTransport; exports.encodeWorkflowHistoryTransport = _chunk76YTS32Rcjs.encodeWorkflowHistoryTransport; exports.encodeWorkflowInspectorValue = _chunkIHKDFKM4cjs.encodeWorkflowInspectorValue;
21
21
  //# sourceMappingURL=workflow.cjs.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  encodeWorkflowInspectorValue
3
- } from "../chunk-464WE4RF.js";
3
+ } from "../chunk-DMQUERRN.js";
4
4
  import {
5
5
  WorkflowBranchStatusType,
6
6
  WorkflowEntryStatus,
7
7
  WorkflowSleepState,
8
8
  decodeWorkflowHistoryTransport,
9
9
  encodeWorkflowHistoryTransport
10
- } from "../chunk-4SC2NSAV.js";
11
- import "../chunk-DN6MD3KK.js";
10
+ } from "../chunk-SNNVRHLX.js";
11
+ import "../chunk-DHWZTUKA.js";
12
12
  import "../chunk-P2OFXH4G.js";
13
13
  export {
14
14
  WorkflowBranchStatusType,
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkEO5UOXXYcjs = require('../chunk-EO5UOXXY.cjs');
8
+ var _chunkNWCAIWHLcjs = require('../chunk-NWCAIWHL.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 = _chunkEO5UOXXYcjs.ActorInspectorConfigSchema; exports.BUILTIN_INSPECTOR_TAB_IDS = _chunkEO5UOXXYcjs.BUILTIN_INSPECTOR_TAB_IDS; exports.BuiltinInspectorTabIdSchema = _chunkEO5UOXXYcjs.BuiltinInspectorTabIdSchema; exports.CustomInspectorTabEntrySchema = _chunkEO5UOXXYcjs.CustomInspectorTabEntrySchema; exports.HideInspectorTabEntrySchema = _chunkEO5UOXXYcjs.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 = _chunkEO5UOXXYcjs.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;
161
+ exports.ACTOR_ID_PARAM = ACTOR_ID_PARAM; exports.ActorInspectorConfigSchema = _chunkNWCAIWHLcjs.ActorInspectorConfigSchema; exports.BUILTIN_INSPECTOR_TAB_IDS = _chunkNWCAIWHLcjs.BUILTIN_INSPECTOR_TAB_IDS; exports.BuiltinInspectorTabIdSchema = _chunkNWCAIWHLcjs.BuiltinInspectorTabIdSchema; exports.CustomInspectorTabEntrySchema = _chunkNWCAIWHLcjs.CustomInspectorTabEntrySchema; exports.HideInspectorTabEntrySchema = _chunkNWCAIWHLcjs.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 = _chunkNWCAIWHLcjs.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 { a7 as CustomInspectorTabEntrySchema, al as HideInspectorTabEntrySchema, ao as InspectorTabEntrySchema } from '../config-8n2AOhXK.cjs';
3
- export { w as ActorInspectorConfig, x as ActorInspectorConfigSchema, _ as BUILTIN_INSPECTOR_TAB_IDS, a0 as BuiltinInspectorTabIdSchema } from '../config-8n2AOhXK.cjs';
2
+ import { aa as CustomInspectorTabEntrySchema, ao as HideInspectorTabEntrySchema, ar as InspectorTabEntrySchema } from '../config-Ct5uXxXk.cjs';
3
+ export { y as ActorInspectorConfig, z as ActorInspectorConfigSchema, a1 as BUILTIN_INSPECTOR_TAB_IDS, a3 as BuiltinInspectorTabIdSchema } from '../config-Ct5uXxXk.cjs';
4
4
  import 'zod/v4';
5
5
  import '../config-ey2I2zz5.cjs';
6
6
  import '@rivetkit/rivetkit-wasm';
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { a7 as CustomInspectorTabEntrySchema, al as HideInspectorTabEntrySchema, ao as InspectorTabEntrySchema } from '../config-DEm0yIVV.js';
3
- export { w as ActorInspectorConfig, x as ActorInspectorConfigSchema, _ as BUILTIN_INSPECTOR_TAB_IDS, a0 as BuiltinInspectorTabIdSchema } from '../config-DEm0yIVV.js';
2
+ import { aa as CustomInspectorTabEntrySchema, ao as HideInspectorTabEntrySchema, ar as InspectorTabEntrySchema } from '../config-Be-VOHaX.js';
3
+ export { y as ActorInspectorConfig, z as ActorInspectorConfigSchema, a1 as BUILTIN_INSPECTOR_TAB_IDS, a3 as BuiltinInspectorTabIdSchema } from '../config-Be-VOHaX.js';
4
4
  import 'zod/v4';
5
5
  import '../config-ey2I2zz5.js';
6
6
  import '@rivetkit/rivetkit-wasm';
@@ -5,7 +5,7 @@ import {
5
5
  CustomInspectorTabEntrySchema,
6
6
  HideInspectorTabEntrySchema,
7
7
  InspectorTabEntrySchema
8
- } from "../chunk-EB77NZL4.js";
8
+ } from "../chunk-CSOHAAZK.js";
9
9
 
10
10
  // src/inspector-tab/mod.ts
11
11
  import { z } from "zod";