rivetkit 2.3.18 → 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 (140) hide show
  1. package/dist/browser/client.d.ts +754 -608
  2. package/dist/browser/client.js +184 -28
  3. package/dist/browser/client.js.map +1 -1
  4. package/dist/browser/inspector/client.js +3 -1
  5. package/dist/browser/inspector/client.js.map +1 -1
  6. package/dist/tsup/actor/errors.cjs +6 -2
  7. package/dist/tsup/actor/errors.cjs.map +1 -1
  8. package/dist/tsup/actor/errors.d.cts +1 -1
  9. package/dist/tsup/actor/errors.d.ts +1 -1
  10. package/dist/tsup/actor/errors.js +5 -1
  11. package/dist/tsup/agent-os/index.cjs +36 -1
  12. package/dist/tsup/agent-os/index.cjs.map +1 -1
  13. package/dist/tsup/agent-os/index.d.cts +149 -3
  14. package/dist/tsup/agent-os/index.d.ts +149 -3
  15. package/dist/tsup/agent-os/index.js +36 -1
  16. package/dist/tsup/agent-os/index.js.map +1 -1
  17. package/dist/tsup/{chunk-2IDK6NX3.cjs → chunk-2CE5UNWK.cjs} +13 -13
  18. package/dist/tsup/chunk-2CE5UNWK.cjs.map +1 -0
  19. package/dist/tsup/{chunk-IPXIZSE7.js → chunk-2NXLTFWI.js} +3 -3
  20. package/dist/tsup/{chunk-OKVVWOC3.cjs → chunk-3WS7Z64U.cjs} +3 -3
  21. package/dist/tsup/{chunk-OKVVWOC3.cjs.map → chunk-3WS7Z64U.cjs.map} +1 -1
  22. package/dist/tsup/{chunk-LAITPJRA.js → chunk-553CIQJY.js} +2 -2
  23. package/dist/tsup/{chunk-PXKNBNVU.js → chunk-5G2J26VM.js} +188 -31
  24. package/dist/tsup/chunk-5G2J26VM.js.map +1 -0
  25. package/dist/tsup/{chunk-IKZ6DJMP.cjs → chunk-76YTS32R.cjs} +4 -4
  26. package/dist/tsup/{chunk-IKZ6DJMP.cjs.map → chunk-76YTS32R.cjs.map} +1 -1
  27. package/dist/tsup/{chunk-NRIRV3Z2.cjs → chunk-A36FMKOV.cjs} +352 -195
  28. package/dist/tsup/chunk-A36FMKOV.cjs.map +1 -0
  29. package/dist/tsup/{chunk-6W5VGLFT.js → chunk-CSOHAAZK.js} +33 -1
  30. package/dist/tsup/chunk-CSOHAAZK.js.map +1 -0
  31. package/dist/tsup/{chunk-T6JUXRNI.cjs → chunk-CVLNRT7O.cjs} +3 -3
  32. package/dist/tsup/{chunk-T6JUXRNI.cjs.map → chunk-CVLNRT7O.cjs.map} +1 -1
  33. package/dist/tsup/{chunk-7EPLADKM.js → chunk-DHWZTUKA.js} +7 -7
  34. package/dist/tsup/chunk-DHWZTUKA.js.map +1 -0
  35. package/dist/tsup/{chunk-4XECVATQ.js → chunk-DMQUERRN.js} +2 -2
  36. package/dist/tsup/{chunk-25Z2RK7C.cjs → chunk-IHKDFKM4.cjs} +3 -3
  37. package/dist/tsup/{chunk-25Z2RK7C.cjs.map → chunk-IHKDFKM4.cjs.map} +1 -1
  38. package/dist/tsup/{chunk-2JSYYH6P.cjs → chunk-JX2ITWAV.cjs} +13 -2
  39. package/dist/tsup/chunk-JX2ITWAV.cjs.map +1 -0
  40. package/dist/tsup/{chunk-4KGXFC6M.cjs → chunk-NWCAIWHL.cjs} +34 -2
  41. package/dist/tsup/chunk-NWCAIWHL.cjs.map +1 -0
  42. package/dist/tsup/{chunk-OUQUIBVW.js → chunk-P2OFXH4G.js} +12 -1
  43. package/dist/tsup/chunk-P2OFXH4G.js.map +1 -0
  44. package/dist/tsup/{chunk-ZRTESY7V.cjs → chunk-RSIOGT2U.cjs} +7 -7
  45. package/dist/tsup/{chunk-ZRTESY7V.cjs.map → chunk-RSIOGT2U.cjs.map} +1 -1
  46. package/dist/tsup/{chunk-QIFZELUQ.js → chunk-SNNVRHLX.js} +2 -2
  47. package/dist/tsup/{chunk-2MK75JFR.js → chunk-TZVAVPGJ.js} +4 -4
  48. package/dist/tsup/{chunk-TNSLNSQH.js → chunk-W2PXGWMR.js} +2 -2
  49. package/dist/tsup/{chunk-O7RSU3UC.cjs → chunk-WAISW7KR.cjs} +10 -10
  50. package/dist/tsup/{chunk-O7RSU3UC.cjs.map → chunk-WAISW7KR.cjs.map} +1 -1
  51. package/dist/tsup/client/mod.cjs +6 -6
  52. package/dist/tsup/client/mod.d.cts +5 -5
  53. package/dist/tsup/client/mod.d.ts +5 -5
  54. package/dist/tsup/client/mod.js +5 -5
  55. package/dist/tsup/common/log.cjs +3 -3
  56. package/dist/tsup/common/log.js +2 -2
  57. package/dist/tsup/common/websocket.cjs +4 -4
  58. package/dist/tsup/common/websocket.js +3 -3
  59. package/dist/tsup/{config-Ug5M2MOr.d.ts → config-Be-VOHaX.d.ts} +155 -11
  60. package/dist/tsup/{config-gvHwMas-.d.cts → config-Ct5uXxXk.d.cts} +155 -11
  61. package/dist/tsup/{context-DererUCI.d.ts → context-CXLa0BIM.d.ts} +1 -1
  62. package/dist/tsup/{context-BSCBvbfM.d.cts → context-Cw-11Q-B.d.cts} +1 -1
  63. package/dist/tsup/db/drizzle.cjs +3 -3
  64. package/dist/tsup/db/drizzle.js +2 -2
  65. package/dist/tsup/db/mod.cjs +4 -4
  66. package/dist/tsup/db/mod.js +3 -3
  67. package/dist/tsup/dynamic/mod.cjs +2 -2
  68. package/dist/tsup/dynamic/mod.d.cts +3 -3
  69. package/dist/tsup/dynamic/mod.d.ts +3 -3
  70. package/dist/tsup/dynamic/mod.js +1 -1
  71. package/dist/tsup/inspector/mod.cjs +6 -6
  72. package/dist/tsup/inspector/mod.js +5 -5
  73. package/dist/tsup/inspector/workflow.cjs +5 -5
  74. package/dist/tsup/inspector/workflow.js +4 -4
  75. package/dist/tsup/inspector-tab/mod.cjs +2 -2
  76. package/dist/tsup/inspector-tab/mod.d.cts +4 -4
  77. package/dist/tsup/inspector-tab/mod.d.ts +4 -4
  78. package/dist/tsup/inspector-tab/mod.js +1 -1
  79. package/dist/tsup/mod.cjs +506 -319
  80. package/dist/tsup/mod.cjs.map +1 -1
  81. package/dist/tsup/mod.d.cts +5 -5
  82. package/dist/tsup/mod.d.ts +5 -5
  83. package/dist/tsup/mod.js +381 -194
  84. package/dist/tsup/mod.js.map +1 -1
  85. package/dist/tsup/test/mod.cjs +7 -7
  86. package/dist/tsup/test/mod.d.cts +3 -3
  87. package/dist/tsup/test/mod.d.ts +3 -3
  88. package/dist/tsup/test/mod.js +5 -5
  89. package/dist/tsup/{utils-Bbz-3411.d.cts → utils-CNFeS-Dk.d.cts} +1 -1
  90. package/dist/tsup/{utils-vvJQyygr.d.ts → utils-DsoDinPz.d.cts} +9 -1
  91. package/dist/tsup/{utils-vvJQyygr.d.cts → utils-DsoDinPz.d.ts} +9 -1
  92. package/dist/tsup/{utils-BqdWVlzm.d.ts → utils-OQHBjfcM.d.ts} +1 -1
  93. package/dist/tsup/utils.cjs +3 -3
  94. package/dist/tsup/utils.d.cts +2 -2
  95. package/dist/tsup/utils.d.ts +2 -2
  96. package/dist/tsup/utils.js +2 -2
  97. package/dist/tsup/workflow/mod.cjs +33 -27
  98. package/dist/tsup/workflow/mod.cjs.map +1 -1
  99. package/dist/tsup/workflow/mod.d.cts +5 -5
  100. package/dist/tsup/workflow/mod.d.ts +5 -5
  101. package/dist/tsup/workflow/mod.js +25 -19
  102. package/dist/tsup/workflow/mod.js.map +1 -1
  103. package/package.json +10 -8
  104. package/src/actor/actions.ts +36 -0
  105. package/src/actor/config.ts +65 -0
  106. package/src/actor/definition.ts +6 -1
  107. package/src/actor/errors.ts +31 -0
  108. package/src/actor/mod.ts +5 -0
  109. package/src/actor/tracing.ts +28 -0
  110. package/src/client/actor-conn.ts +7 -0
  111. package/src/client/actor-handle.ts +57 -17
  112. package/src/client/client.ts +26 -6
  113. package/src/client/outbound-telemetry.ts +66 -0
  114. package/src/client/queue.ts +3 -0
  115. package/src/client/raw-utils.ts +3 -0
  116. package/src/common/actor-router-consts.ts +3 -0
  117. package/src/common/actor-telemetry-context.ts +19 -0
  118. package/src/common/otel-context.ts +99 -0
  119. package/src/common/utils.ts +1 -19
  120. package/src/engine-client/actor-http-client.ts +15 -0
  121. package/src/registry/index.ts +6 -0
  122. package/src/registry/napi-runtime.ts +155 -35
  123. package/src/registry/native.ts +295 -191
  124. package/src/registry/runtime.ts +74 -0
  125. package/src/registry/wasm-runtime.ts +40 -0
  126. package/src/workflow/driver.ts +20 -12
  127. package/dist/tsup/chunk-2IDK6NX3.cjs.map +0 -1
  128. package/dist/tsup/chunk-2JSYYH6P.cjs.map +0 -1
  129. package/dist/tsup/chunk-4KGXFC6M.cjs.map +0 -1
  130. package/dist/tsup/chunk-6W5VGLFT.js.map +0 -1
  131. package/dist/tsup/chunk-7EPLADKM.js.map +0 -1
  132. package/dist/tsup/chunk-NRIRV3Z2.cjs.map +0 -1
  133. package/dist/tsup/chunk-OUQUIBVW.js.map +0 -1
  134. package/dist/tsup/chunk-PXKNBNVU.js.map +0 -1
  135. /package/dist/tsup/{chunk-IPXIZSE7.js.map → chunk-2NXLTFWI.js.map} +0 -0
  136. /package/dist/tsup/{chunk-LAITPJRA.js.map → chunk-553CIQJY.js.map} +0 -0
  137. /package/dist/tsup/{chunk-4XECVATQ.js.map → chunk-DMQUERRN.js.map} +0 -0
  138. /package/dist/tsup/{chunk-QIFZELUQ.js.map → chunk-SNNVRHLX.js.map} +0 -0
  139. /package/dist/tsup/{chunk-2MK75JFR.js.map → chunk-TZVAVPGJ.js.map} +0 -0
  140. /package/dist/tsup/{chunk-TNSLNSQH.js.map → chunk-W2PXGWMR.js.map} +0 -0
@@ -6,9 +6,9 @@ import { Logger } from 'pino';
6
6
  import { UniversalWebSocket } from '@rivetkit/virtual-websocket';
7
7
  import { WorkflowState } from './inspector/workflow.cjs';
8
8
  import { StandardSchemaV1 } from '@standard-schema/spec';
9
- import { E as Encoding, G as GetUpgradeWebSocket } from './utils-Bbz-3411.cjs';
9
+ import { E as Encoding, G as GetUpgradeWebSocket } from './utils-CNFeS-Dk.cjs';
10
10
  import { Context, Hono } from 'hono';
11
- import { R as RivetError } from './utils-vvJQyygr.cjs';
11
+ import { R as RivetError } from './utils-DsoDinPz.cjs';
12
12
 
13
13
  declare const ActorKeySchema: z.ZodArray<z.ZodString>;
14
14
  type ActorKey = z.infer<typeof ActorKeySchema>;
@@ -562,6 +562,25 @@ interface ActorOutput {
562
562
  error?: unknown;
563
563
  }
564
564
 
565
+ /** Correlation owned by the currently executing Core actor invocation. */
566
+ interface ActorInvocationTraceContext {
567
+ /** Ray ID the invocation received, absent when nothing upstream supplied one. */
568
+ readonly rayId?: string;
569
+ /** Core-owned invocation span context, absent when tracing is disabled. */
570
+ readonly span?: ActorInvocationSpanContext;
571
+ }
572
+ /** W3C span context of the Core invocation span. */
573
+ interface ActorInvocationSpanContext {
574
+ /** W3C trace identifier. */
575
+ readonly traceId: string;
576
+ /** W3C span identifier for the Core invocation. */
577
+ readonly spanId: string;
578
+ /** OpenTelemetry trace flags encoded as an integer. */
579
+ readonly traceFlags: number;
580
+ /** Optional vendor trace state inherited by the Core invocation. */
581
+ readonly tracestate?: string;
582
+ }
583
+
565
584
  declare const handleBrand: unique symbol;
566
585
  type OpaqueHandle<Name extends string> = {
567
586
  readonly [handleBrand]: Name;
@@ -580,6 +599,27 @@ interface RuntimeActorKeySegment {
580
599
  stringValue?: string;
581
600
  numberValue?: number;
582
601
  }
602
+ /** Resolves correlation at operation time so retained clients cannot freeze stale context. */
603
+ type CurrentActorInvocation = () => ActorInvocationTraceContext | undefined;
604
+ /** One open call from an actor out to another actor. */
605
+ interface RuntimeOutboundCall {
606
+ /**
607
+ * W3C context of the call's own span, to send to the callee so it parents to
608
+ * the call. Absent when tracing is disabled.
609
+ */
610
+ readonly span?: ActorInvocationSpanContext;
611
+ /**
612
+ * Records the call's outcome. `error` is the failure encoded the way the
613
+ * bridge encodes errors, so a structured error keeps its group and code.
614
+ */
615
+ finish(error?: string): void;
616
+ }
617
+ /**
618
+ * Opens the span covering one call out to another actor, or returns `undefined`
619
+ * outside an invocation or on a runtime without invocation telemetry. Callers
620
+ * send their own context when it returns nothing.
621
+ */
622
+ type StartCallSpan = (actorName: string, actionName: string) => RuntimeOutboundCall | undefined;
583
623
  interface RuntimeHttpRequest {
584
624
  method: string;
585
625
  uri: string;
@@ -740,12 +780,19 @@ interface RuntimeSqlBatchStatement {
740
780
  interface RuntimeSqlRunResult {
741
781
  changes: number;
742
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
+ }
743
789
  interface RuntimeActorConfig {
744
790
  name?: string;
745
791
  icon?: string;
746
792
  hasDatabase?: boolean;
747
793
  remoteSqlite?: boolean;
748
794
  sqliteProfiling?: SqliteProfilingOptions;
795
+ tracing?: RuntimeActorTracingConfig;
749
796
  enableActorRuntimeSocket?: boolean;
750
797
  hasState?: boolean;
751
798
  canHibernateWebsocket?: boolean;
@@ -877,6 +924,7 @@ interface CoreRuntime {
877
924
  serveRegistry(registry: RegistryHandle, config: RuntimeServeConfig): Promise<void>;
878
925
  waitRegistryReady(registry: RegistryHandle): Promise<void>;
879
926
  shutdownRegistry(registry: RegistryHandle): Promise<void>;
927
+ shutdownTelemetry?(): Promise<void>;
880
928
  registryActorStopThresholdMs?(registry: RegistryHandle): Promise<number | undefined>;
881
929
  handleServerlessRequest(registry: RegistryHandle, req: RuntimeServerlessRequest, onStreamEvent: RuntimeServerlessStreamCallback, cancelToken: CancellationTokenHandle, config: RuntimeServeConfig): Promise<RuntimeServerlessResponseHead>;
882
930
  serveListener(registry: RegistryHandle, listener: RuntimeListenerConfig, config: RuntimeServeConfig): Promise<void>;
@@ -906,6 +954,31 @@ interface CoreRuntime {
906
954
  actorSaveState(ctx: ActorContextHandle, payload: RuntimeStateDeltaPayload): Promise<void>;
907
955
  actorSaveStateAndWorkflowBatch(ctx: ActorContextHandle, writes: RuntimeWorkflowKvWrite[]): Promise<void>;
908
956
  actorId(ctx: ActorContextHandle): string;
957
+ /**
958
+ * Runs one actor callback with `ctx` as the current invocation: operations
959
+ * on retained handles for the same actor resolve to it, and its Core span
960
+ * is the active OpenTelemetry span for the duration of `run`. Only actions,
961
+ * raw requests, and queue dispatch run this way; other callbacks have no
962
+ * invocation span.
963
+ */
964
+ runWithActorInvocationContext<T>(ctx: ActorContextHandle, run: () => T): T;
965
+ /**
966
+ * Correlation of the invocation currently executing for this actor, or
967
+ * `undefined` outside an invocation or after it finished. A sampled-out
968
+ * invocation can still expose valid span context for propagation.
969
+ */
970
+ actorInvocationTraceContext(ctx: ActorContextHandle): ActorInvocationTraceContext | undefined;
971
+ /**
972
+ * Opens the span covering one call this actor makes to another actor. See
973
+ * `StartCallSpan` for when this returns nothing.
974
+ */
975
+ startCallSpan(ctx: ActorContextHandle, actorName: string, actionName: string): RuntimeOutboundCall | undefined;
976
+ /** Backs `ActorRun.startWorkflowSpan`. */
977
+ startWorkflowSpan(ctx: ActorContextHandle): Promise<WorkflowSpan>;
978
+ /** Backs `ActorRun.runOutsideWorkflowSpan`. */
979
+ runOutsideActorInvocationContext<T>(run: () => T): T;
980
+ /** Identity of the invocation the caller runs in, usable as a cache key. */
981
+ currentInvocationScope(): object | undefined;
909
982
  actorName(ctx: ActorContextHandle): string;
910
983
  actorKey(ctx: ActorContextHandle): RuntimeActorKeySegment[];
911
984
  actorRegion(ctx: ActorContextHandle): string;
@@ -1245,7 +1318,7 @@ declare class ActorConnRaw {
1245
1318
  *
1246
1319
  * @protected
1247
1320
  */
1248
- constructor(client: ClientRaw, driver: EngineControlClient, params: unknown, getParams: (() => Promise<unknown>) | undefined, encoding: Encoding, actorResolutionState: ActorResolutionState, gatewayOptions?: ActorGatewayOptions);
1321
+ constructor(client: ClientRaw, driver: EngineControlClient, params: unknown, getParams: (() => Promise<unknown>) | undefined, encoding: Encoding, actorResolutionState: ActorResolutionState, gatewayOptions?: ActorGatewayOptions, currentActorInvocation?: CurrentActorInvocation);
1249
1322
  send(name: string, body: unknown, options: QueueSendWaitOptions): Promise<QueueSendResult>;
1250
1323
  send(name: string, body: unknown, options?: QueueSendNoWaitOptions): Promise<void>;
1251
1324
  /**
@@ -1381,7 +1454,7 @@ declare class ActorHandleRaw {
1381
1454
  *
1382
1455
  * @protected
1383
1456
  */
1384
- constructor(client: any, driver: EngineControlClient, params: unknown, getParams: (() => Promise<unknown>) | undefined, encoding: Encoding, actorResolutionState: ActorResolutionState, gatewayOptions?: ActorGatewayOptions, signal?: AbortSignal);
1457
+ constructor(client: any, driver: EngineControlClient, params: unknown, getParams: (() => Promise<unknown>) | undefined, encoding: Encoding, actorResolutionState: ActorResolutionState, gatewayOptions?: ActorGatewayOptions, signal?: AbortSignal, currentActorInvocation?: CurrentActorInvocation, startCallSpan?: StartCallSpan);
1385
1458
  send(name: string, body: unknown, options: QueueSendWaitOptions): Promise<QueueSendResult>;
1386
1459
  send(name: string, body: unknown, options?: QueueSendNoWaitOptions): Promise<void>;
1387
1460
  /**
@@ -1582,6 +1655,18 @@ interface Region {
1582
1655
  }
1583
1656
  declare const ACTOR_CONNS_SYMBOL: unique symbol;
1584
1657
  declare const CREATE_ACTOR_CONN_PROXY: unique symbol;
1658
+ /** Options for constructing a raw actor client. */
1659
+ interface ClientRawOptions {
1660
+ encoding?: Encoding;
1661
+ gateway?: ActorGatewayOptions;
1662
+ }
1663
+ /** Runtime-supplied wiring for clients created inside an actor. Set only by the native runtime. */
1664
+ interface ActorClientRuntimeOptions {
1665
+ /** Supplies the calling actor's invocation so actor-to-actor clients propagate its trace and ray ID. */
1666
+ currentActorInvocation?: CurrentActorInvocation;
1667
+ /** Opens and finishes the Core span covering an actor-to-actor call. */
1668
+ startCallSpan?: StartCallSpan;
1669
+ }
1585
1670
  /**
1586
1671
  * Client for managing & connecting to actors.
1587
1672
  *
@@ -1594,7 +1679,7 @@ declare class ClientRaw {
1594
1679
  /**
1595
1680
  * Creates an instance of Client.
1596
1681
  */
1597
- constructor(driver: EngineControlClient, encoding: Encoding | undefined, gatewayOptions?: ActorGatewayOptions);
1682
+ constructor(driver: EngineControlClient, options?: ClientRawOptions & ActorClientRuntimeOptions);
1598
1683
  /**
1599
1684
  * Gets a stateless handle to a actor by its ID.
1600
1685
  *
@@ -1654,10 +1739,30 @@ type Client<A extends Registry<any>> = ClientRaw & {
1654
1739
  [K in keyof ExtractActorsFromRegistry<A>]: ActorAccessor<ExtractActorsFromRegistry<A>[K]>;
1655
1740
  };
1656
1741
  type AnyClient = Client<Registry<any>>;
1657
- declare function createClientWithDriver<A extends Registry<any>>(driver: EngineControlClient, config?: {
1658
- encoding?: Encoding;
1659
- gateway?: ActorGatewayOptions;
1660
- }): Client<A>;
1742
+ declare function createClientWithDriver<A extends Registry<any>>(driver: EngineControlClient, options?: ClientRawOptions & ActorClientRuntimeOptions): Client<A>;
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
+ }
1661
1766
 
1662
1767
  declare const DEFAULT_SLEEP_GRACE_PERIOD = 15000;
1663
1768
  declare const ACTOR_CONTEXT_INTERNAL_SYMBOL: unique symbol;
@@ -1918,6 +2023,28 @@ interface ActorContext<TState, TConnParams, TConnState, TVars, TInput, TDatabase
1918
2023
  client<T = any>(): ActorClientFor<T>;
1919
2024
  [key: string]: any;
1920
2025
  }
2026
+ /** @experimental How one run of a workflow function ended. */
2027
+ type WorkflowOutcome = "completed" | "sleeping" | "evicted" | "failed" | "cancelled";
2028
+ /** @experimental How one workflow step attempt ended. `retry` will be tried again, `failed` will not. */
2029
+ type WorkflowStepOutcome = "ok" | "retry" | "failed";
2030
+ /** @experimental One open run of a workflow function, traced as its own invocation. */
2031
+ interface WorkflowSpan {
2032
+ /** Runs `body` attributed to this run. */
2033
+ run<T>(body: () => Promise<T>): Promise<T>;
2034
+ /**
2035
+ * Called by a workflow engine before each attempt at a step. Returns
2036
+ * nothing when tracing is off.
2037
+ */
2038
+ startStep(name: string, attempt: number): WorkflowStepSpan | undefined;
2039
+ finish(outcome: WorkflowOutcome): Promise<void>;
2040
+ }
2041
+ /** @experimental One open attempt at one workflow step. */
2042
+ interface WorkflowStepSpan {
2043
+ /** Runs `body` attributed to this attempt. */
2044
+ run<T>(body: () => Promise<T>): Promise<T>;
2045
+ /** `error` is what the step callback threw. */
2046
+ finish(outcome: WorkflowStepOutcome, error?: unknown): void;
2047
+ }
1921
2048
  /** @experimental */
1922
2049
  interface ActorRun {
1923
2050
  /**
@@ -1925,6 +2052,13 @@ interface ActorRun {
1925
2052
  * ensures this actor's run handler is active, starting it if inactive.
1926
2053
  */
1927
2054
  setWakeAt(timestamp: number | null): Promise<void>;
2055
+ /** @experimental Called by a workflow engine each time it runs the workflow function. */
2056
+ startWorkflowSpan(): Promise<WorkflowSpan>;
2057
+ /**
2058
+ * @experimental Runs `body` outside the current workflow run, so a workflow
2059
+ * engine's own history storage stays out of the trace.
2060
+ */
2061
+ runOutsideWorkflowSpan<T>(body: () => T): T;
1928
2062
  }
1929
2063
  type ActionContext<TState, TConnParams, TConnState, TVars, TInput, TDatabase extends AnyDatabaseProvider, TEvents extends EventSchemaConfig = Record<never, never>, TQueues extends QueueSchemaConfig = Record<never, never>> = ActorContext<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues> & {
1930
2064
  conn: Conn<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues>;
@@ -2206,6 +2340,10 @@ declare const ActorConfigSchema: z.ZodObject<{
2206
2340
  onWebSocket: z.ZodOptional<z.ZodCustom<(...args: unknown[]) => unknown, (...args: unknown[]) => unknown>>;
2207
2341
  actions: z.ZodDefault<z.ZodCustom<Record<string, unknown>, Record<string, unknown>>>;
2208
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>>;
2209
2347
  connParamsSchema: z.ZodOptional<z.ZodAny>;
2210
2348
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2211
2349
  queues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -2450,6 +2588,11 @@ interface BaseActorConfig<TState, TConnParams, TConnState, TVars, TInput, TDatab
2450
2588
  * May mirror nested action groups or use dot-separated low-level action names.
2451
2589
  */
2452
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>;
2453
2596
  /**
2454
2597
  * Optional schema for validating connection params in native runtimes.
2455
2598
  */
@@ -2472,7 +2615,7 @@ type ActorDatabaseConfig<TDatabase extends AnyDatabaseProvider> = {
2472
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>;
2473
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>> = {
2474
2617
  types?: ActorTypes<TState, TConnParams, TConnState, TVars, TInput, TDatabase>;
2475
- } & 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>;
2476
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>;
2477
2620
  declare const DocActorOptionsSchema: z.ZodObject<{
2478
2621
  name: z.ZodOptional<z.ZodString>;
@@ -2520,6 +2663,7 @@ declare const DocActorConfigSchema: z.ZodObject<{
2520
2663
  onWebSocket: z.ZodOptional<z.ZodUnknown>;
2521
2664
  actions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2522
2665
  actionInputSchemas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2666
+ tracing: z.ZodOptional<z.ZodUnknown>;
2523
2667
  connParamsSchema: z.ZodOptional<z.ZodUnknown>;
2524
2668
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2525
2669
  queues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -2548,4 +2692,4 @@ declare const DocActorConfigSchema: z.ZodObject<{
2548
2692
  }, z.core.$strip>>;
2549
2693
  }, z.core.$strip>;
2550
2694
 
2551
- export { type BaseActorInstance as $, type AnyActorDefinition as A, type BaseActorDefinition as B, type ConnectContext as C, type DestroyContext as D, type EventSchemaConfig as E, type ActorLogger as F, type ActorOptions as G, type ActorOptionsInput as H, ActorOptionsSchema as I, type ActorQuery as J, type ActorQueue as K, type ActorRun as L, type MigrateContext as M, type ActorSchedule as N, type ActorTypes as O, ActorsSchema as P, type QueueSchemaConfig as Q, type RequestContext as R, type SleepContext as S, type AnyActorInstance as T, type AnyClient as U, type AnyConn as V, type WakeContext as W, type AnyStaticActorDefinition as X, type AnyStaticActorInstance as Y, type AuthIntent as Z, BUILTIN_INSPECTOR_TAB_IDS as _, type ActionContext as a, type SqliteBackend as a$, BuiltinInspectorTabIdSchema as a0, CONN_DRIVER_SYMBOL as a1, CONN_STATE_MANAGER_SYMBOL as a2, type Client as a3, type Conn as a4, type CronFire as a5, type CronJobInfo as a6, CustomInspectorTabEntrySchema as a7, DEFAULT_SLEEP_GRACE_PERIOD as a8, type DefineRunHandlerOptions as a9, type QueueResultMessageForName as aA, type QueueTryNextBatchOptions as aB, type QueueTryNextOptions as aC, type QueueWaitOptions as aD, RAW_STATE_SYMBOL as aE, Registry as aF, type RegistryActors as aG, type RegistryApplication as aH, type RegistryConfig as aI, type RegistryConfigInput as aJ, RegistryConfigSchema as aK, type RegistryDeps as aL, type RegistryListenOptions as aM, type RegistryRoutes as aN, type RunConfig as aO, RunConfigSchema as aP, type RunControl as aQ, type RunInspectorConfig as aR, type RunInspectorFactoryContext as aS, type RunInspectorFactoryResult as aT, type RunInspectorKind as aU, type RunWithInactiveOptions as aV, type RuntimeKind as aW, RuntimeKindSchema as aX, type ScheduledEventInfo as aY, type ScheduledFireInfo as aZ, type ServerlessHandler as a_, DocActorConfigSchema as aa, DocActorOptionsSchema as ab, DocConfigurePoolSchema as ac, DocEnvoyConfigSchema as ad, DocRegistryConfigSchema as ae, DocServerlessConfigSchema as af, DocSqliteConfigSchema as ag, type FetchHandler as ah, type GlobalActorOptions as ai, type GlobalActorOptionsInput as aj, GlobalActorOptionsSchema as ak, HideInspectorTabEntrySchema as al, type InferEventArgs as am, type InferSchemaMap as an, InspectorTabEntrySchema as ao, type InspectorUnsubscribe as ap, type InstanceActorOptions as aq, type InstanceActorOptionsInput as ar, InstanceActorOptionsSchema as as, type QueueEnqueueAndWaitOptions as at, type QueueFilterName as au, type QueueIterOptions as av, type QueueMessageOf as aw, type QueueName as ax, type QueueNextBatchOptions as ay, type QueueNextOptions as az, type BeforeActionResponseContext as b, SqliteBackendSchema as b0, type SqliteConfig as b1, SqliteConfigSchema as b2, type TestConfig as b3, TestConfigSchema as b4, type Type as b5, type WasmRuntimeBindings as b6, type WasmRuntimeConfig as b7, WasmRuntimeConfigSchema as b8, type WasmRuntimeInitInput as b9, ClientRaw as bA, type ConnectionStateCallback as bB, type CreateOptions as bC, type CreateRequest as bD, type EventUnsubscribe as bE, type ExtractActorsFromRegistry as bF, type ExtractRegistryFromClient as bG, type GetOptions as bH, type GetWithIdOptions as bI, type QueryOptions as bJ, type Region as bK, type StatusChangeCallback as bL, type WorkflowInspectorConfig as ba, actor as bb, buildActorNames as bc, createClientWithDriver as bd, defineRunHandler as be, disposeRunInspector as bf, event as bg, getRunFunction as bh, getRunInspectorConfig as bi, getRunMetadata as bj, isStaticActorDefinition as bk, isStaticActorInstance as bl, lookupInRegistry as bm, queue as bn, setup as bo, test as bp, type ActorAccessor as bq, type ActorActionFunction as br, type ActorActionOptions as bs, type ActorConn as bt, ActorConnRaw as bu, type ActorConnStatus as bv, type ActorConnectOptions as bw, type ActorGatewayOptions as bx, type ActorHandle as by, ActorHandleRaw as bz, type BeforeConnectContext as c, type CreateConnStateContext as d, type CreateContext as e, type CreateVarsContext as f, type DisconnectContext as g, type RunContext as h, type StateChangeContext as i, type WebSocketContext as j, ACTOR_CONTEXT_INTERNAL_SYMBOL as k, type ActionInputSchemas as l, type Actions as m, type ActorConfig as n, type ActorConfigInput as o, ActorConfigSchema as p, type ActorContext as q, type ActorContextOf as r, type ActorCron as s, type ActorCronEveryOptions as t, type ActorCronSetOptions as u, ActorDefinition as v, type ActorInspectorConfig as w, ActorInspectorConfigSchema as x, type ActorKey as y, type ActorKv as z };
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-Ug5M2MOr.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-gvHwMas-.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,8 +7,8 @@
7
7
  var _chunkKVFIONKQcjs = require('../chunk-KVFIONKQ.cjs');
8
8
 
9
9
 
10
- var _chunk2IDK6NX3cjs = require('../chunk-2IDK6NX3.cjs');
11
- require('../chunk-2JSYYH6P.cjs');
10
+ var _chunk2CE5UNWKcjs = require('../chunk-2CE5UNWK.cjs');
11
+ require('../chunk-JX2ITWAV.cjs');
12
12
 
13
13
  // src/db/drizzle.ts
14
14
 
@@ -164,7 +164,7 @@ function db({
164
164
  return;
165
165
  }
166
166
  manualTransactionWarned = true;
167
- _chunk2IDK6NX3cjs.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,8 +7,8 @@ import {
7
7
  } from "../chunk-JTHHCZCZ.js";
8
8
  import {
9
9
  getLogger
10
- } from "../chunk-7EPLADKM.js";
11
- import "../chunk-OUQUIBVW.js";
10
+ } from "../chunk-DHWZTUKA.js";
11
+ import "../chunk-P2OFXH4G.js";
12
12
 
13
13
  // src/db/drizzle.ts
14
14
  import {
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkT6JUXRNIcjs = require('../chunk-T6JUXRNI.cjs');
3
+ var _chunkCVLNRT7Ocjs = require('../chunk-CVLNRT7O.cjs');
4
4
  require('../chunk-KVFIONKQ.cjs');
5
- require('../chunk-2IDK6NX3.cjs');
6
- require('../chunk-2JSYYH6P.cjs');
5
+ require('../chunk-2CE5UNWK.cjs');
6
+ require('../chunk-JX2ITWAV.cjs');
7
7
 
8
8
 
9
- exports.db = _chunkT6JUXRNIcjs.db;
9
+ exports.db = _chunkCVLNRT7Ocjs.db;
10
10
  //# sourceMappingURL=mod.cjs.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  db
3
- } from "../chunk-TNSLNSQH.js";
3
+ } from "../chunk-W2PXGWMR.js";
4
4
  import "../chunk-JTHHCZCZ.js";
5
- import "../chunk-7EPLADKM.js";
6
- import "../chunk-OUQUIBVW.js";
5
+ import "../chunk-DHWZTUKA.js";
6
+ import "../chunk-P2OFXH4G.js";
7
7
  export {
8
8
  db
9
9
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk4KGXFC6Mcjs = require('../chunk-4KGXFC6M.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 = _chunk4KGXFC6Mcjs.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-gvHwMas-.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';
@@ -7,9 +7,9 @@ import 'pino';
7
7
  import '@rivetkit/virtual-websocket';
8
8
  import '../inspector/workflow.cjs';
9
9
  import '@standard-schema/spec';
10
- import '../utils-Bbz-3411.cjs';
10
+ import '../utils-CNFeS-Dk.cjs';
11
11
  import 'hono';
12
- import '../utils-vvJQyygr.cjs';
12
+ import '../utils-DsoDinPz.cjs';
13
13
  import 'hono/utils/http-status';
14
14
 
15
15
  declare const DYNAMIC_ACTOR_DEFINITION_SYMBOL: unique symbol;
@@ -1,4 +1,4 @@
1
- import { A as AnyActorDefinition } from '../config-Ug5M2MOr.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';
@@ -7,9 +7,9 @@ import 'pino';
7
7
  import '@rivetkit/virtual-websocket';
8
8
  import '../inspector/workflow.js';
9
9
  import '@standard-schema/spec';
10
- import '../utils-BqdWVlzm.js';
10
+ import '../utils-OQHBjfcM.js';
11
11
  import 'hono';
12
- import '../utils-vvJQyygr.js';
12
+ import '../utils-DsoDinPz.js';
13
13
  import 'hono/utils/http-status';
14
14
 
15
15
  declare const DYNAMIC_ACTOR_DEFINITION_SYMBOL: unique symbol;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ActorConfigSchema
3
- } from "../chunk-6W5VGLFT.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,13 +1,13 @@
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 _chunkO7RSU3UCcjs = require('../chunk-O7RSU3UC.cjs');
4
- require('../chunk-25Z2RK7C.cjs');
3
+ var _chunkWAISW7KRcjs = require('../chunk-WAISW7KR.cjs');
4
+ require('../chunk-IHKDFKM4.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkIKZ6DJMPcjs = require('../chunk-IKZ6DJMP.cjs');
9
- require('../chunk-2IDK6NX3.cjs');
10
- require('../chunk-2JSYYH6P.cjs');
8
+ var _chunk76YTS32Rcjs = require('../chunk-76YTS32R.cjs');
9
+ require('../chunk-2CE5UNWK.cjs');
10
+ require('../chunk-JX2ITWAV.cjs');
11
11
 
12
12
  // src/common/bare/generated/inspector/v5.ts
13
13
  var _barets = require('@rivetkit/bare-ts'); var bare = _interopRequireWildcard(_barets);
@@ -796,5 +796,5 @@ function decodeToClient(bytes) {
796
796
 
797
797
 
798
798
 
799
- exports.createWorkflowInspectorAdapter = _chunkO7RSU3UCcjs.createWorkflowInspectorAdapter; exports.decodeToClient = decodeToClient; exports.decodeToServer = decodeToServer; exports.decodeWorkflowHistoryTransport = _chunkIKZ6DJMPcjs.decodeWorkflowHistoryTransport; exports.encodeToClient = encodeToClient; exports.encodeToServer = encodeToServer; exports.encodeWorkflowHistoryTransport = _chunkIKZ6DJMPcjs.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,13 +1,13 @@
1
1
  import {
2
2
  createWorkflowInspectorAdapter
3
- } from "../chunk-2MK75JFR.js";
4
- import "../chunk-4XECVATQ.js";
3
+ } from "../chunk-TZVAVPGJ.js";
4
+ import "../chunk-DMQUERRN.js";
5
5
  import {
6
6
  decodeWorkflowHistoryTransport,
7
7
  encodeWorkflowHistoryTransport
8
- } from "../chunk-QIFZELUQ.js";
9
- import "../chunk-7EPLADKM.js";
10
- import "../chunk-OUQUIBVW.js";
8
+ } from "../chunk-SNNVRHLX.js";
9
+ import "../chunk-DHWZTUKA.js";
10
+ import "../chunk-P2OFXH4G.js";
11
11
 
12
12
  // src/common/bare/generated/inspector/v5.ts
13
13
  import * as bare from "@rivetkit/bare-ts";
@@ -1,15 +1,15 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk25Z2RK7Ccjs = require('../chunk-25Z2RK7C.cjs');
3
+ var _chunkIHKDFKM4cjs = require('../chunk-IHKDFKM4.cjs');
4
4
 
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
- var _chunkIKZ6DJMPcjs = require('../chunk-IKZ6DJMP.cjs');
11
- require('../chunk-2IDK6NX3.cjs');
12
- require('../chunk-2JSYYH6P.cjs');
10
+ var _chunk76YTS32Rcjs = require('../chunk-76YTS32R.cjs');
11
+ require('../chunk-2CE5UNWK.cjs');
12
+ require('../chunk-JX2ITWAV.cjs');
13
13
 
14
14
 
15
15
 
@@ -17,5 +17,5 @@ require('../chunk-2JSYYH6P.cjs');
17
17
 
18
18
 
19
19
 
20
- exports.WorkflowBranchStatusType = _chunkIKZ6DJMPcjs.WorkflowBranchStatusType; exports.WorkflowEntryStatus = _chunkIKZ6DJMPcjs.WorkflowEntryStatus; exports.WorkflowSleepState = _chunkIKZ6DJMPcjs.WorkflowSleepState; exports.decodeWorkflowHistoryTransport = _chunkIKZ6DJMPcjs.decodeWorkflowHistoryTransport; exports.encodeWorkflowHistoryTransport = _chunkIKZ6DJMPcjs.encodeWorkflowHistoryTransport; exports.encodeWorkflowInspectorValue = _chunk25Z2RK7Ccjs.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,15 +1,15 @@
1
1
  import {
2
2
  encodeWorkflowInspectorValue
3
- } from "../chunk-4XECVATQ.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-QIFZELUQ.js";
11
- import "../chunk-7EPLADKM.js";
12
- import "../chunk-OUQUIBVW.js";
10
+ } from "../chunk-SNNVRHLX.js";
11
+ import "../chunk-DHWZTUKA.js";
12
+ import "../chunk-P2OFXH4G.js";
13
13
  export {
14
14
  WorkflowBranchStatusType,
15
15
  WorkflowEntryStatus,
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
 
8
- var _chunk4KGXFC6Mcjs = require('../chunk-4KGXFC6M.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 = _chunk4KGXFC6Mcjs.ActorInspectorConfigSchema; exports.BUILTIN_INSPECTOR_TAB_IDS = _chunk4KGXFC6Mcjs.BUILTIN_INSPECTOR_TAB_IDS; exports.BuiltinInspectorTabIdSchema = _chunk4KGXFC6Mcjs.BuiltinInspectorTabIdSchema; exports.CustomInspectorTabEntrySchema = _chunk4KGXFC6Mcjs.CustomInspectorTabEntrySchema; exports.HideInspectorTabEntrySchema = _chunk4KGXFC6Mcjs.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 = _chunk4KGXFC6Mcjs.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-gvHwMas-.cjs';
3
- export { w as ActorInspectorConfig, x as ActorInspectorConfigSchema, _ as BUILTIN_INSPECTOR_TAB_IDS, a0 as BuiltinInspectorTabIdSchema } from '../config-gvHwMas-.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';
@@ -8,9 +8,9 @@ import 'pino';
8
8
  import '@rivetkit/virtual-websocket';
9
9
  import '../inspector/workflow.cjs';
10
10
  import '@standard-schema/spec';
11
- import '../utils-Bbz-3411.cjs';
11
+ import '../utils-CNFeS-Dk.cjs';
12
12
  import 'hono';
13
- import '../utils-vvJQyygr.cjs';
13
+ import '../utils-DsoDinPz.cjs';
14
14
  import 'hono/utils/http-status';
15
15
 
16
16
  /**