rivetkit 0.0.0-sqlite-uds.2015d80 → 0.0.0-sqlite-profiling-compat.87d61c0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/client.d.ts +28 -25
- package/dist/browser/client.js +6 -9
- package/dist/browser/client.js.map +1 -1
- package/dist/browser/inspector/client.d.ts +2 -22
- package/dist/browser/inspector/client.js +222 -996
- package/dist/browser/inspector/client.js.map +1 -1
- package/dist/tsup/actor/errors.cjs.map +1 -1
- package/dist/tsup/agent-os/index.cjs +34 -99
- package/dist/tsup/agent-os/index.cjs.map +1 -1
- package/dist/tsup/agent-os/index.d.cts +28 -25
- package/dist/tsup/agent-os/index.d.ts +28 -25
- package/dist/tsup/agent-os/index.js +36 -101
- package/dist/tsup/agent-os/index.js.map +1 -1
- package/dist/tsup/{chunk-MUPT34DY.js → chunk-3GVMLSND.js} +7 -7
- package/dist/tsup/{chunk-OAPVVVTX.cjs → chunk-3MHDOUD7.cjs} +1 -1
- package/dist/tsup/chunk-3MHDOUD7.cjs.map +1 -0
- package/dist/tsup/chunk-4FC7TVS6.cjs.map +1 -1
- package/dist/tsup/{chunk-D5TT3ZDY.js → chunk-B3GLD4IN.js} +2 -22
- package/dist/tsup/chunk-B3GLD4IN.js.map +1 -0
- package/dist/tsup/{chunk-HV4FLJQR.cjs → chunk-BWERJMV6.cjs} +141 -141
- package/dist/tsup/chunk-BWERJMV6.cjs.map +1 -0
- package/dist/tsup/{chunk-CKKFRK2T.cjs → chunk-D363DMNH.cjs} +3 -3
- package/dist/tsup/chunk-D363DMNH.cjs.map +1 -0
- package/dist/tsup/{chunk-COPUTOJF.cjs → chunk-DTRDGPHU.cjs} +7 -7
- package/dist/tsup/chunk-DTRDGPHU.cjs.map +1 -0
- package/dist/tsup/{chunk-5RC3H5MH.cjs → chunk-E4LNLI3W.cjs} +8 -12
- package/dist/tsup/chunk-E4LNLI3W.cjs.map +1 -0
- package/dist/tsup/{chunk-XPXLCL5I.js → chunk-EFU4JW3T.js} +7 -11
- package/dist/tsup/chunk-EFU4JW3T.js.map +1 -0
- package/dist/tsup/{chunk-IVUL2OMZ.cjs → chunk-FNAXD5BQ.cjs} +4 -24
- package/dist/tsup/chunk-FNAXD5BQ.cjs.map +1 -0
- package/dist/tsup/{chunk-YPIVGZVX.cjs → chunk-GM45LG7L.cjs} +10 -18
- package/dist/tsup/chunk-GM45LG7L.cjs.map +1 -0
- package/dist/tsup/{chunk-DNGOGOHS.js → chunk-O3ZUMAN7.js} +3 -3
- package/dist/tsup/{chunk-VBASTLLY.js → chunk-OAUFXOG7.js} +2 -2
- package/dist/tsup/{chunk-VP3RWGXE.cjs → chunk-P6F5MEWX.cjs} +5 -5
- package/dist/tsup/chunk-P6F5MEWX.cjs.map +1 -0
- package/dist/tsup/{chunk-VL3UZ6XX.js → chunk-PT7AC5PC.js} +4 -12
- package/dist/tsup/chunk-PT7AC5PC.js.map +1 -0
- package/dist/tsup/{chunk-5NJB7EE2.js → chunk-UV7INX3N.js} +2 -2
- package/dist/tsup/chunk-VE2X4KMG.cjs.map +1 -1
- package/dist/tsup/{chunk-3GLNEWGY.js → chunk-XIX5DOZN.js} +1 -1
- package/dist/tsup/chunk-XIX5DOZN.js.map +1 -0
- package/dist/tsup/chunk-ZA7FLHKH.cjs.map +1 -1
- package/dist/tsup/client/mod.cjs +7 -7
- package/dist/tsup/client/mod.cjs.map +1 -1
- package/dist/tsup/client/mod.d.cts +3 -3
- package/dist/tsup/client/mod.d.ts +3 -3
- package/dist/tsup/client/mod.js +6 -6
- package/dist/tsup/common/log.cjs +2 -4
- package/dist/tsup/common/log.cjs.map +1 -1
- package/dist/tsup/common/log.d.cts +1 -5
- package/dist/tsup/common/log.d.ts +1 -5
- package/dist/tsup/common/log.js +3 -5
- package/dist/tsup/common/websocket.cjs +3 -3
- package/dist/tsup/common/websocket.cjs.map +1 -1
- package/dist/tsup/common/websocket.js +2 -2
- package/dist/tsup/{config-DLOxy81E.d.cts → config-B0LNDrLY.d.cts} +25 -5
- package/dist/tsup/{config-DLOxy81E.d.ts → config-B0LNDrLY.d.ts} +25 -5
- package/dist/tsup/{config-Ds6DCRhV.d.ts → config-BR1Nn0QQ.d.ts} +5 -22
- package/dist/tsup/{config-CxG53eQo.d.cts → config-tCvkwzyN.d.cts} +5 -22
- package/dist/tsup/{context-Cfbm4QLr.d.ts → context-D4WDwf9m.d.cts} +2 -3
- package/dist/tsup/{context-8KlcOYIs.d.cts → context-oc9zhA3x.d.ts} +2 -3
- package/dist/tsup/db/drizzle.cjs +72 -144
- package/dist/tsup/db/drizzle.cjs.map +1 -1
- package/dist/tsup/db/drizzle.d.cts +2 -4
- package/dist/tsup/db/drizzle.d.ts +2 -4
- package/dist/tsup/db/drizzle.js +72 -144
- package/dist/tsup/db/drizzle.js.map +1 -1
- package/dist/tsup/db/mod.cjs +28 -90
- package/dist/tsup/db/mod.cjs.map +1 -1
- package/dist/tsup/db/mod.d.cts +8 -4
- package/dist/tsup/db/mod.d.ts +8 -4
- package/dist/tsup/db/mod.js +28 -90
- package/dist/tsup/db/mod.js.map +1 -1
- package/dist/tsup/dynamic/mod.cjs +2 -2
- package/dist/tsup/dynamic/mod.cjs.map +1 -1
- package/dist/tsup/dynamic/mod.d.cts +2 -2
- package/dist/tsup/dynamic/mod.d.ts +2 -2
- package/dist/tsup/dynamic/mod.js +1 -1
- package/dist/tsup/inspector/mod.cjs +11 -46
- package/dist/tsup/inspector/mod.cjs.map +1 -1
- package/dist/tsup/inspector/mod.d.cts +15 -37
- package/dist/tsup/inspector/mod.d.ts +15 -37
- package/dist/tsup/inspector/mod.js +10 -45
- package/dist/tsup/inspector/mod.js.map +1 -1
- package/dist/tsup/inspector-tab/mod.cjs +13 -2
- package/dist/tsup/inspector-tab/mod.cjs.map +1 -1
- package/dist/tsup/inspector-tab/mod.d.cts +14 -4
- package/dist/tsup/inspector-tab/mod.d.ts +14 -4
- package/dist/tsup/inspector-tab/mod.js +12 -1
- package/dist/tsup/inspector-tab/mod.js.map +1 -1
- package/dist/tsup/mod.cjs +91 -191
- package/dist/tsup/mod.cjs.map +1 -1
- package/dist/tsup/mod.d.cts +4 -4
- package/dist/tsup/mod.d.ts +4 -4
- package/dist/tsup/mod.js +27 -127
- package/dist/tsup/mod.js.map +1 -1
- package/dist/tsup/test/mod.cjs +10 -10
- package/dist/tsup/test/mod.cjs.map +1 -1
- package/dist/tsup/test/mod.d.cts +2 -2
- package/dist/tsup/test/mod.d.ts +2 -2
- package/dist/tsup/test/mod.js +6 -6
- package/dist/tsup/utils.cjs +2 -2
- package/dist/tsup/utils.cjs.map +1 -1
- package/dist/tsup/utils.js +1 -1
- package/dist/tsup/workflow/mod.cjs +11 -14
- package/dist/tsup/workflow/mod.cjs.map +1 -1
- package/dist/tsup/workflow/mod.d.cts +4 -4
- package/dist/tsup/workflow/mod.d.ts +4 -4
- package/dist/tsup/workflow/mod.js +5 -8
- package/dist/tsup/workflow/mod.js.map +1 -1
- package/package.json +14 -9
- package/src/actor/config.ts +0 -2
- package/src/common/bare/transport/v1.ts +0 -36
- package/src/common/database/config.ts +24 -19
- package/src/common/database/mod.test.ts +2 -91
- package/src/common/database/mod.ts +38 -102
- package/src/common/database/native-database.ts +4 -19
- package/src/common/log.ts +8 -14
- package/src/db/drizzle.ts +86 -189
- package/src/db/mod.ts +1 -0
- package/src/inspector/client.browser.ts +16 -73
- package/src/inspector/mod.ts +1 -1
- package/src/inspector-tab/mod.ts +15 -0
- package/src/registry/config/index.ts +0 -3
- package/src/registry/index.ts +0 -4
- package/src/registry/napi-runtime.ts +1 -25
- package/src/registry/native.ts +13 -95
- package/src/registry/runtime.ts +6 -18
- package/src/registry/wasm-runtime.ts +0 -22
- package/src/workflow/context.ts +0 -4
- package/src/workflow/inspector.ts +0 -8
- package/dist/tsup/chunk-3GLNEWGY.js.map +0 -1
- package/dist/tsup/chunk-5RC3H5MH.cjs.map +0 -1
- package/dist/tsup/chunk-CKKFRK2T.cjs.map +0 -1
- package/dist/tsup/chunk-COPUTOJF.cjs.map +0 -1
- package/dist/tsup/chunk-D5TT3ZDY.js.map +0 -1
- package/dist/tsup/chunk-HV4FLJQR.cjs.map +0 -1
- package/dist/tsup/chunk-IVUL2OMZ.cjs.map +0 -1
- package/dist/tsup/chunk-OAPVVVTX.cjs.map +0 -1
- package/dist/tsup/chunk-VL3UZ6XX.js.map +0 -1
- package/dist/tsup/chunk-VP3RWGXE.cjs.map +0 -1
- package/dist/tsup/chunk-XPXLCL5I.js.map +0 -1
- package/dist/tsup/chunk-YPIVGZVX.cjs.map +0 -1
- package/src/common/bare/generated/actor-uds-protocol/v1.ts +0 -802
- package/src/common/bare/generated/inspector/v5.ts +0 -1016
- /package/dist/tsup/{chunk-MUPT34DY.js.map → chunk-3GVMLSND.js.map} +0 -0
- /package/dist/tsup/{chunk-DNGOGOHS.js.map → chunk-O3ZUMAN7.js.map} +0 -0
- /package/dist/tsup/{chunk-VBASTLLY.js.map → chunk-OAUFXOG7.js.map} +0 -0
- /package/dist/tsup/{chunk-5NJB7EE2.js.map → chunk-UV7INX3N.js.map} +0 -0
package/dist/tsup/mod.d.cts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { A as AnyActorDefinition, B as BaseActorDefinition, E as EventSchemaConfig, Q as QueueSchemaConfig, a as ActionContext, b as BeforeActionResponseContext, c as BeforeConnectContext, C as ConnectContext, d as CreateConnStateContext, e as CreateContext, f as CreateVarsContext, D as DestroyContext, g as DisconnectContext, M as MigrateContext, R as RequestContext, h as RunContext, S as SleepContext, i as StateChangeContext, W as WakeContext, j as WebSocketContext } from './config-
|
|
2
|
-
export { k as ACTOR_CONTEXT_INTERNAL_SYMBOL, l as Actions, m as ActorConfig, n as ActorConfigInput, o as ActorConfigSchema, p as ActorContext, q as ActorContextOf, r as ActorDefinition, s as ActorInspectorConfig, t as ActorInspectorConfigSchema, u as ActorKey, v as ActorKv, w as ActorLogger, x as ActorOptions, y as ActorOptionsInput, z as ActorOptionsSchema, F as ActorQuery, G as ActorQueue, H as ActorSchedule, I as ActorTypes, J as ActorsSchema, K as AnyActorInstance, L as AnyClient, N as AnyConn, O as AnyStaticActorDefinition, P as AnyStaticActorInstance, T as AuthIntent, U as BUILTIN_INSPECTOR_TAB_IDS, V as BaseActorInstance, X as BuiltinInspectorTabIdSchema, Y as CONN_DRIVER_SYMBOL, Z as CONN_STATE_MANAGER_SYMBOL, _ as Client, $ as Conn, a0 as CustomInspectorTabEntrySchema, a1 as DEFAULT_SLEEP_GRACE_PERIOD, a2 as DocActorConfigSchema, a3 as DocActorOptionsSchema, a4 as DocConfigurePoolSchema, a5 as DocEnvoyConfigSchema, a6 as DocRegistryConfigSchema, a7 as DocServerlessConfigSchema, a8 as DocSqliteConfigSchema, a9 as Encoding, aa as FetchHandler, ab as GlobalActorOptions, ac as GlobalActorOptionsInput, ad as GlobalActorOptionsSchema, ae as HideInspectorTabEntrySchema, af as InspectorTabEntrySchema, ag as InspectorUnsubscribe, ah as InstanceActorOptions, ai as InstanceActorOptionsInput, aj as InstanceActorOptionsSchema, ak as QueueEnqueueAndWaitOptions, al as QueueFilterName, am as QueueIterOptions, an as QueueMessageOf, ao as QueueName, ap as QueueNextBatchOptions, aq as QueueNextOptions, ar as QueueResultMessageForName, as as QueueTryNextBatchOptions, at as QueueTryNextOptions, au as QueueWaitOptions, av as RAW_STATE_SYMBOL, aw as RUN_FUNCTION_CONFIG_SYMBOL, ax as Registry, ay as RegistryActors, az as RegistryConfig, aA as RegistryConfigInput, aB as RegistryConfigSchema, aC as RegistryDeps, aD as RegistryRoutes, aE as RunConfig, aF as RunConfigSchema, aG as RunInspectorConfig, aH as RuntimeKind, aI as RuntimeKindSchema, aJ as ServerlessHandler, aK as SqliteBackend, aL as SqliteBackendSchema, aM as SqliteConfig, aN as SqliteConfigSchema, aO as TestConfig, aP as TestConfigSchema, aQ as Type, aR as WasmRuntimeBindings, aS as WasmRuntimeConfig, aT as WasmRuntimeConfigSchema, aU as WasmRuntimeInitInput, aV as WorkflowInspectorConfig, aW as actor, aX as buildActorNames, aY as createClientWithDriver, aZ as disposeRunInspector, a_ as event, a$ as getRunFunction, b0 as getRunInspectorConfig, b1 as getRunMetadata, b2 as isStaticActorDefinition, b3 as isStaticActorInstance, b4 as lookupInRegistry, b5 as queue, b6 as setup, b7 as test } from './config-
|
|
1
|
+
import { A as AnyActorDefinition, B as BaseActorDefinition, E as EventSchemaConfig, Q as QueueSchemaConfig, a as ActionContext, b as BeforeActionResponseContext, c as BeforeConnectContext, C as ConnectContext, d as CreateConnStateContext, e as CreateContext, f as CreateVarsContext, D as DestroyContext, g as DisconnectContext, M as MigrateContext, R as RequestContext, h as RunContext, S as SleepContext, i as StateChangeContext, W as WakeContext, j as WebSocketContext } from './config-tCvkwzyN.cjs';
|
|
2
|
+
export { k as ACTOR_CONTEXT_INTERNAL_SYMBOL, l as Actions, m as ActorConfig, n as ActorConfigInput, o as ActorConfigSchema, p as ActorContext, q as ActorContextOf, r as ActorDefinition, s as ActorInspectorConfig, t as ActorInspectorConfigSchema, u as ActorKey, v as ActorKv, w as ActorLogger, x as ActorOptions, y as ActorOptionsInput, z as ActorOptionsSchema, F as ActorQuery, G as ActorQueue, H as ActorSchedule, I as ActorTypes, J as ActorsSchema, K as AnyActorInstance, L as AnyClient, N as AnyConn, O as AnyStaticActorDefinition, P as AnyStaticActorInstance, T as AuthIntent, U as BUILTIN_INSPECTOR_TAB_IDS, V as BaseActorInstance, X as BuiltinInspectorTabIdSchema, Y as CONN_DRIVER_SYMBOL, Z as CONN_STATE_MANAGER_SYMBOL, _ as Client, $ as Conn, a0 as CustomInspectorTabEntrySchema, a1 as DEFAULT_SLEEP_GRACE_PERIOD, a2 as DocActorConfigSchema, a3 as DocActorOptionsSchema, a4 as DocConfigurePoolSchema, a5 as DocEnvoyConfigSchema, a6 as DocRegistryConfigSchema, a7 as DocServerlessConfigSchema, a8 as DocSqliteConfigSchema, a9 as Encoding, aa as FetchHandler, ab as GlobalActorOptions, ac as GlobalActorOptionsInput, ad as GlobalActorOptionsSchema, ae as HideInspectorTabEntrySchema, af as InspectorTabEntrySchema, ag as InspectorUnsubscribe, ah as InstanceActorOptions, ai as InstanceActorOptionsInput, aj as InstanceActorOptionsSchema, ak as QueueEnqueueAndWaitOptions, al as QueueFilterName, am as QueueIterOptions, an as QueueMessageOf, ao as QueueName, ap as QueueNextBatchOptions, aq as QueueNextOptions, ar as QueueResultMessageForName, as as QueueTryNextBatchOptions, at as QueueTryNextOptions, au as QueueWaitOptions, av as RAW_STATE_SYMBOL, aw as RUN_FUNCTION_CONFIG_SYMBOL, ax as Registry, ay as RegistryActors, az as RegistryConfig, aA as RegistryConfigInput, aB as RegistryConfigSchema, aC as RegistryDeps, aD as RegistryRoutes, aE as RunConfig, aF as RunConfigSchema, aG as RunInspectorConfig, aH as RuntimeKind, aI as RuntimeKindSchema, aJ as ServerlessHandler, aK as SqliteBackend, aL as SqliteBackendSchema, aM as SqliteConfig, aN as SqliteConfigSchema, aO as TestConfig, aP as TestConfigSchema, aQ as Type, aR as WasmRuntimeBindings, aS as WasmRuntimeConfig, aT as WasmRuntimeConfigSchema, aU as WasmRuntimeInitInput, aV as WorkflowInspectorConfig, aW as actor, aX as buildActorNames, aY as createClientWithDriver, aZ as disposeRunInspector, a_ as event, a$ as getRunFunction, b0 as getRunInspectorConfig, b1 as getRunMetadata, b2 as isStaticActorDefinition, b3 as isStaticActorInstance, b4 as lookupInRegistry, b5 as queue, b6 as setup, b7 as test } from './config-tCvkwzyN.cjs';
|
|
3
3
|
import { UniversalWebSocket } from '@rivetkit/virtual-websocket';
|
|
4
4
|
export { RivetCloseEvent, RivetEvent, RivetMessageEvent, UniversalWebSocket } from '@rivetkit/virtual-websocket';
|
|
5
|
-
import { A as AnyDatabaseProvider } from './config-
|
|
5
|
+
import { A as AnyDatabaseProvider } from './config-B0LNDrLY.cjs';
|
|
6
6
|
export { R as ActorError, R as RivetError, a as RivetErrorLike, b as RivetErrorOptions, U as UserError, c as UserErrorOptions, n as noopNext } from './utils-CqDnC_PS.cjs';
|
|
7
7
|
import { WSContext } from 'hono/ws';
|
|
8
8
|
export { toUint8Array } from './utils.cjs';
|
|
9
|
-
export { W as WorkflowBranchContextOf, a as WorkflowContextOf, b as WorkflowLoopContextOf, c as WorkflowStepContextOf } from './context-
|
|
9
|
+
export { W as WorkflowBranchContextOf, a as WorkflowContextOf, b as WorkflowLoopContextOf, c as WorkflowStepContextOf } from './context-D4WDwf9m.cjs';
|
|
10
10
|
import 'zod/v4';
|
|
11
11
|
import '@rivetkit/rivetkit-wasm';
|
|
12
12
|
import 'zod';
|
package/dist/tsup/mod.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { A as AnyActorDefinition, B as BaseActorDefinition, E as EventSchemaConfig, Q as QueueSchemaConfig, a as ActionContext, b as BeforeActionResponseContext, c as BeforeConnectContext, C as ConnectContext, d as CreateConnStateContext, e as CreateContext, f as CreateVarsContext, D as DestroyContext, g as DisconnectContext, M as MigrateContext, R as RequestContext, h as RunContext, S as SleepContext, i as StateChangeContext, W as WakeContext, j as WebSocketContext } from './config-
|
|
2
|
-
export { k as ACTOR_CONTEXT_INTERNAL_SYMBOL, l as Actions, m as ActorConfig, n as ActorConfigInput, o as ActorConfigSchema, p as ActorContext, q as ActorContextOf, r as ActorDefinition, s as ActorInspectorConfig, t as ActorInspectorConfigSchema, u as ActorKey, v as ActorKv, w as ActorLogger, x as ActorOptions, y as ActorOptionsInput, z as ActorOptionsSchema, F as ActorQuery, G as ActorQueue, H as ActorSchedule, I as ActorTypes, J as ActorsSchema, K as AnyActorInstance, L as AnyClient, N as AnyConn, O as AnyStaticActorDefinition, P as AnyStaticActorInstance, T as AuthIntent, U as BUILTIN_INSPECTOR_TAB_IDS, V as BaseActorInstance, X as BuiltinInspectorTabIdSchema, Y as CONN_DRIVER_SYMBOL, Z as CONN_STATE_MANAGER_SYMBOL, _ as Client, $ as Conn, a0 as CustomInspectorTabEntrySchema, a1 as DEFAULT_SLEEP_GRACE_PERIOD, a2 as DocActorConfigSchema, a3 as DocActorOptionsSchema, a4 as DocConfigurePoolSchema, a5 as DocEnvoyConfigSchema, a6 as DocRegistryConfigSchema, a7 as DocServerlessConfigSchema, a8 as DocSqliteConfigSchema, a9 as Encoding, aa as FetchHandler, ab as GlobalActorOptions, ac as GlobalActorOptionsInput, ad as GlobalActorOptionsSchema, ae as HideInspectorTabEntrySchema, af as InspectorTabEntrySchema, ag as InspectorUnsubscribe, ah as InstanceActorOptions, ai as InstanceActorOptionsInput, aj as InstanceActorOptionsSchema, ak as QueueEnqueueAndWaitOptions, al as QueueFilterName, am as QueueIterOptions, an as QueueMessageOf, ao as QueueName, ap as QueueNextBatchOptions, aq as QueueNextOptions, ar as QueueResultMessageForName, as as QueueTryNextBatchOptions, at as QueueTryNextOptions, au as QueueWaitOptions, av as RAW_STATE_SYMBOL, aw as RUN_FUNCTION_CONFIG_SYMBOL, ax as Registry, ay as RegistryActors, az as RegistryConfig, aA as RegistryConfigInput, aB as RegistryConfigSchema, aC as RegistryDeps, aD as RegistryRoutes, aE as RunConfig, aF as RunConfigSchema, aG as RunInspectorConfig, aH as RuntimeKind, aI as RuntimeKindSchema, aJ as ServerlessHandler, aK as SqliteBackend, aL as SqliteBackendSchema, aM as SqliteConfig, aN as SqliteConfigSchema, aO as TestConfig, aP as TestConfigSchema, aQ as Type, aR as WasmRuntimeBindings, aS as WasmRuntimeConfig, aT as WasmRuntimeConfigSchema, aU as WasmRuntimeInitInput, aV as WorkflowInspectorConfig, aW as actor, aX as buildActorNames, aY as createClientWithDriver, aZ as disposeRunInspector, a_ as event, a$ as getRunFunction, b0 as getRunInspectorConfig, b1 as getRunMetadata, b2 as isStaticActorDefinition, b3 as isStaticActorInstance, b4 as lookupInRegistry, b5 as queue, b6 as setup, b7 as test } from './config-
|
|
1
|
+
import { A as AnyActorDefinition, B as BaseActorDefinition, E as EventSchemaConfig, Q as QueueSchemaConfig, a as ActionContext, b as BeforeActionResponseContext, c as BeforeConnectContext, C as ConnectContext, d as CreateConnStateContext, e as CreateContext, f as CreateVarsContext, D as DestroyContext, g as DisconnectContext, M as MigrateContext, R as RequestContext, h as RunContext, S as SleepContext, i as StateChangeContext, W as WakeContext, j as WebSocketContext } from './config-BR1Nn0QQ.js';
|
|
2
|
+
export { k as ACTOR_CONTEXT_INTERNAL_SYMBOL, l as Actions, m as ActorConfig, n as ActorConfigInput, o as ActorConfigSchema, p as ActorContext, q as ActorContextOf, r as ActorDefinition, s as ActorInspectorConfig, t as ActorInspectorConfigSchema, u as ActorKey, v as ActorKv, w as ActorLogger, x as ActorOptions, y as ActorOptionsInput, z as ActorOptionsSchema, F as ActorQuery, G as ActorQueue, H as ActorSchedule, I as ActorTypes, J as ActorsSchema, K as AnyActorInstance, L as AnyClient, N as AnyConn, O as AnyStaticActorDefinition, P as AnyStaticActorInstance, T as AuthIntent, U as BUILTIN_INSPECTOR_TAB_IDS, V as BaseActorInstance, X as BuiltinInspectorTabIdSchema, Y as CONN_DRIVER_SYMBOL, Z as CONN_STATE_MANAGER_SYMBOL, _ as Client, $ as Conn, a0 as CustomInspectorTabEntrySchema, a1 as DEFAULT_SLEEP_GRACE_PERIOD, a2 as DocActorConfigSchema, a3 as DocActorOptionsSchema, a4 as DocConfigurePoolSchema, a5 as DocEnvoyConfigSchema, a6 as DocRegistryConfigSchema, a7 as DocServerlessConfigSchema, a8 as DocSqliteConfigSchema, a9 as Encoding, aa as FetchHandler, ab as GlobalActorOptions, ac as GlobalActorOptionsInput, ad as GlobalActorOptionsSchema, ae as HideInspectorTabEntrySchema, af as InspectorTabEntrySchema, ag as InspectorUnsubscribe, ah as InstanceActorOptions, ai as InstanceActorOptionsInput, aj as InstanceActorOptionsSchema, ak as QueueEnqueueAndWaitOptions, al as QueueFilterName, am as QueueIterOptions, an as QueueMessageOf, ao as QueueName, ap as QueueNextBatchOptions, aq as QueueNextOptions, ar as QueueResultMessageForName, as as QueueTryNextBatchOptions, at as QueueTryNextOptions, au as QueueWaitOptions, av as RAW_STATE_SYMBOL, aw as RUN_FUNCTION_CONFIG_SYMBOL, ax as Registry, ay as RegistryActors, az as RegistryConfig, aA as RegistryConfigInput, aB as RegistryConfigSchema, aC as RegistryDeps, aD as RegistryRoutes, aE as RunConfig, aF as RunConfigSchema, aG as RunInspectorConfig, aH as RuntimeKind, aI as RuntimeKindSchema, aJ as ServerlessHandler, aK as SqliteBackend, aL as SqliteBackendSchema, aM as SqliteConfig, aN as SqliteConfigSchema, aO as TestConfig, aP as TestConfigSchema, aQ as Type, aR as WasmRuntimeBindings, aS as WasmRuntimeConfig, aT as WasmRuntimeConfigSchema, aU as WasmRuntimeInitInput, aV as WorkflowInspectorConfig, aW as actor, aX as buildActorNames, aY as createClientWithDriver, aZ as disposeRunInspector, a_ as event, a$ as getRunFunction, b0 as getRunInspectorConfig, b1 as getRunMetadata, b2 as isStaticActorDefinition, b3 as isStaticActorInstance, b4 as lookupInRegistry, b5 as queue, b6 as setup, b7 as test } from './config-BR1Nn0QQ.js';
|
|
3
3
|
import { UniversalWebSocket } from '@rivetkit/virtual-websocket';
|
|
4
4
|
export { RivetCloseEvent, RivetEvent, RivetMessageEvent, UniversalWebSocket } from '@rivetkit/virtual-websocket';
|
|
5
|
-
import { A as AnyDatabaseProvider } from './config-
|
|
5
|
+
import { A as AnyDatabaseProvider } from './config-B0LNDrLY.js';
|
|
6
6
|
export { R as ActorError, R as RivetError, a as RivetErrorLike, b as RivetErrorOptions, U as UserError, c as UserErrorOptions, n as noopNext } from './utils-CqDnC_PS.js';
|
|
7
7
|
import { WSContext } from 'hono/ws';
|
|
8
8
|
export { toUint8Array } from './utils.js';
|
|
9
|
-
export { W as WorkflowBranchContextOf, a as WorkflowContextOf, b as WorkflowLoopContextOf, c as WorkflowStepContextOf } from './context-
|
|
9
|
+
export { W as WorkflowBranchContextOf, a as WorkflowContextOf, b as WorkflowLoopContextOf, c as WorkflowStepContextOf } from './context-oc9zhA3x.js';
|
|
10
10
|
import 'zod/v4';
|
|
11
11
|
import '@rivetkit/rivetkit-wasm';
|
|
12
12
|
import 'zod';
|
package/dist/tsup/mod.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
decodeWorkflowHistoryTransport
|
|
3
|
-
} from "./chunk-D5TT3ZDY.js";
|
|
4
1
|
import {
|
|
5
2
|
ACTOR_CONTEXT_INTERNAL_SYMBOL,
|
|
6
3
|
ActorConfigSchema,
|
|
@@ -10,7 +7,10 @@ import {
|
|
|
10
7
|
getRunFunction,
|
|
11
8
|
getRunInspectorConfig,
|
|
12
9
|
getRunMetadata
|
|
13
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XIX5DOZN.js";
|
|
11
|
+
import {
|
|
12
|
+
decodeWorkflowHistoryTransport
|
|
13
|
+
} from "./chunk-B3GLD4IN.js";
|
|
14
14
|
import {
|
|
15
15
|
ALLOWED_PUBLIC_HEADERS,
|
|
16
16
|
HEADER_CONN_PARAMS,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
getDatacenters,
|
|
21
21
|
tryParseEndpoint,
|
|
22
22
|
updateRunnerConfig
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-3GVMLSND.js";
|
|
24
24
|
import {
|
|
25
25
|
KEYS,
|
|
26
26
|
makePrefixedKey,
|
|
@@ -33,13 +33,11 @@ import {
|
|
|
33
33
|
assertJsonCompatValue,
|
|
34
34
|
decodeCborCompat,
|
|
35
35
|
encodeCborCompat
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-VBASTLLY.js";
|
|
36
|
+
} from "./chunk-UV7INX3N.js";
|
|
37
|
+
import "./chunk-OAUFXOG7.js";
|
|
39
38
|
import {
|
|
40
39
|
LogLevelSchema,
|
|
41
40
|
VERSION,
|
|
42
|
-
configureBaseLogger,
|
|
43
41
|
deconstructError,
|
|
44
42
|
getEnvUniversal,
|
|
45
43
|
getLogger,
|
|
@@ -65,7 +63,7 @@ import {
|
|
|
65
63
|
parsePortEnv,
|
|
66
64
|
stringifyError,
|
|
67
65
|
toUint8Array
|
|
68
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-EFU4JW3T.js";
|
|
69
67
|
import {
|
|
70
68
|
INTERNAL_ERROR_CODE,
|
|
71
69
|
RivetError,
|
|
@@ -78,6 +76,7 @@ import {
|
|
|
78
76
|
toRivetError,
|
|
79
77
|
unsupportedFeature
|
|
80
78
|
} from "./chunk-ZZ3WBRPD.js";
|
|
79
|
+
import "./chunk-JZ7TWV65.js";
|
|
81
80
|
|
|
82
81
|
// src/actor/log.ts
|
|
83
82
|
function loggerWithoutContext() {
|
|
@@ -596,8 +595,6 @@ var RegistryConfigSchema = z3.object({
|
|
|
596
595
|
maxIncomingMessageSize: z3.number().optional().default(65536),
|
|
597
596
|
/** @experimental */
|
|
598
597
|
maxOutgoingMessageSize: z3.number().optional().default(1048576),
|
|
599
|
-
/** Enables the experimental per-actor Unix socket API. */
|
|
600
|
-
experimentalActorUds: z3.boolean().optional().default(false),
|
|
601
598
|
// MARK: Runtime
|
|
602
599
|
/**
|
|
603
600
|
* @experimental
|
|
@@ -1126,7 +1123,7 @@ function wrapJsNativeDatabase(database) {
|
|
|
1126
1123
|
const gate = new NativeCloseGate();
|
|
1127
1124
|
let closePromise;
|
|
1128
1125
|
let lastInsertRowId = null;
|
|
1129
|
-
const executeNative = async (sql, params
|
|
1126
|
+
const executeNative = async (sql, params) => {
|
|
1130
1127
|
const lastInsertRowIdColumn = lastInsertRowIdColumnName(sql);
|
|
1131
1128
|
if (lastInsertRowIdColumn) {
|
|
1132
1129
|
return {
|
|
@@ -1139,12 +1136,7 @@ function wrapJsNativeDatabase(database) {
|
|
|
1139
1136
|
const release = gate.enter();
|
|
1140
1137
|
try {
|
|
1141
1138
|
const nativeParams = toNativeBindings(sql, params);
|
|
1142
|
-
const result = await database.execute(
|
|
1143
|
-
sql,
|
|
1144
|
-
nativeParams,
|
|
1145
|
-
lease == null ? void 0 : lease.key,
|
|
1146
|
-
lease == null ? void 0 : lease.timeoutMs
|
|
1147
|
-
);
|
|
1139
|
+
const result = await database.execute(sql, nativeParams);
|
|
1148
1140
|
if (result.lastInsertRowId !== void 0) {
|
|
1149
1141
|
lastInsertRowId = result.lastInsertRowId;
|
|
1150
1142
|
}
|
|
@@ -1156,11 +1148,11 @@ function wrapJsNativeDatabase(database) {
|
|
|
1156
1148
|
}
|
|
1157
1149
|
};
|
|
1158
1150
|
return {
|
|
1159
|
-
async exec(sql, callback
|
|
1151
|
+
async exec(sql, callback) {
|
|
1160
1152
|
const release = gate.enter();
|
|
1161
1153
|
let result;
|
|
1162
1154
|
try {
|
|
1163
|
-
result = await database.exec(sql
|
|
1155
|
+
result = await database.exec(sql);
|
|
1164
1156
|
} catch (error) {
|
|
1165
1157
|
enrichNativeDatabaseError(database, error);
|
|
1166
1158
|
} finally {
|
|
@@ -1173,8 +1165,8 @@ function wrapJsNativeDatabase(database) {
|
|
|
1173
1165
|
callback(row, result.columns);
|
|
1174
1166
|
}
|
|
1175
1167
|
},
|
|
1176
|
-
async execute(sql, params
|
|
1177
|
-
return await executeNative(sql, params
|
|
1168
|
+
async execute(sql, params) {
|
|
1169
|
+
return await executeNative(sql, params);
|
|
1178
1170
|
},
|
|
1179
1171
|
async run(sql, params) {
|
|
1180
1172
|
await executeNative(sql, params);
|
|
@@ -1623,19 +1615,13 @@ var NapiCoreRuntime = class {
|
|
|
1623
1615
|
async actorKvBatchDelete(ctx, keys) {
|
|
1624
1616
|
await asNativeActorContext(ctx).kv().batchDelete(keys.map(toNapiBuffer));
|
|
1625
1617
|
}
|
|
1626
|
-
async actorSqlExec(ctx, sql
|
|
1627
|
-
return await this.#actorSql(ctx).exec(
|
|
1628
|
-
sql,
|
|
1629
|
-
lease == null ? void 0 : lease.key,
|
|
1630
|
-
lease == null ? void 0 : lease.timeoutMs
|
|
1631
|
-
);
|
|
1618
|
+
async actorSqlExec(ctx, sql) {
|
|
1619
|
+
return await this.#actorSql(ctx).exec(sql);
|
|
1632
1620
|
}
|
|
1633
|
-
async actorSqlExecute(ctx, sql, params
|
|
1621
|
+
async actorSqlExecute(ctx, sql, params) {
|
|
1634
1622
|
const result = await this.#actorSql(ctx).execute(
|
|
1635
1623
|
sql,
|
|
1636
|
-
toNapiSqlBindParams(params)
|
|
1637
|
-
lease == null ? void 0 : lease.key,
|
|
1638
|
-
lease == null ? void 0 : lease.timeoutMs
|
|
1624
|
+
toNapiSqlBindParams(params)
|
|
1639
1625
|
);
|
|
1640
1626
|
return normalizeRuntimeSqlExecuteResult(result);
|
|
1641
1627
|
}
|
|
@@ -1665,9 +1651,6 @@ var NapiCoreRuntime = class {
|
|
|
1665
1651
|
this.#sql.delete(nativeCtx);
|
|
1666
1652
|
await database.close();
|
|
1667
1653
|
}
|
|
1668
|
-
async actorUdsProvision(ctx) {
|
|
1669
|
-
return await asNativeActorContext(ctx).provisionActorUds();
|
|
1670
|
-
}
|
|
1671
1654
|
async actorQueueSend(ctx, name, body) {
|
|
1672
1655
|
return toNapiQueueMessage(
|
|
1673
1656
|
await asNativeActorContext(ctx).queue().send(name, toNapiBuffer(body))
|
|
@@ -1713,9 +1696,6 @@ var NapiCoreRuntime = class {
|
|
|
1713
1696
|
async actorQueueInspectMessages(ctx) {
|
|
1714
1697
|
return await asNativeActorContext(ctx).queue().inspectMessages();
|
|
1715
1698
|
}
|
|
1716
|
-
async actorQueueReset(ctx) {
|
|
1717
|
-
await asNativeActorContext(ctx).queue().reset();
|
|
1718
|
-
}
|
|
1719
1699
|
actorScheduleAfter(ctx, durationMs, actionName, args) {
|
|
1720
1700
|
asNativeActorContext(ctx).schedule().after(durationMs, actionName, toNapiBuffer(args));
|
|
1721
1701
|
}
|
|
@@ -2264,20 +2244,10 @@ var WasmCoreRuntime = class {
|
|
|
2264
2244
|
const kv = childHandle(asWasmActorContext(ctx), "kv");
|
|
2265
2245
|
await callHandleAsync(kv, "batchDelete", keys);
|
|
2266
2246
|
}
|
|
2267
|
-
async actorSqlExec(ctx, sql
|
|
2268
|
-
if (lease) {
|
|
2269
|
-
throw new Error(
|
|
2270
|
-
"sqlite transaction leases are unavailable in the wasm runtime"
|
|
2271
|
-
);
|
|
2272
|
-
}
|
|
2247
|
+
async actorSqlExec(ctx, sql) {
|
|
2273
2248
|
return await callWasm(() => this.#actorSql(ctx).exec(sql));
|
|
2274
2249
|
}
|
|
2275
|
-
async actorSqlExecute(ctx, sql, params
|
|
2276
|
-
if (lease) {
|
|
2277
|
-
throw new Error(
|
|
2278
|
-
"sqlite transaction leases are unavailable in the wasm runtime"
|
|
2279
|
-
);
|
|
2280
|
-
}
|
|
2250
|
+
async actorSqlExecute(ctx, sql, params) {
|
|
2281
2251
|
const result = await callWasm(
|
|
2282
2252
|
() => this.#actorSql(ctx).execute(sql, params)
|
|
2283
2253
|
);
|
|
@@ -2306,9 +2276,6 @@ var WasmCoreRuntime = class {
|
|
|
2306
2276
|
this.#sql.delete(wasmCtx);
|
|
2307
2277
|
await callWasm(() => database.close());
|
|
2308
2278
|
}
|
|
2309
|
-
async actorUdsProvision(_ctx) {
|
|
2310
|
-
throw new Error("actor UDS endpoints require the native runtime");
|
|
2311
|
-
}
|
|
2312
2279
|
async actorQueueSend(ctx, name, body) {
|
|
2313
2280
|
const queue2 = childHandle(asWasmActorContext(ctx), "queue");
|
|
2314
2281
|
return normalizeQueueMessage(
|
|
@@ -2376,10 +2343,6 @@ var WasmCoreRuntime = class {
|
|
|
2376
2343
|
const queue2 = childHandle(asWasmActorContext(ctx), "queue");
|
|
2377
2344
|
return await callHandleAsync(queue2, "inspectMessages");
|
|
2378
2345
|
}
|
|
2379
|
-
async actorQueueReset(ctx) {
|
|
2380
|
-
const queue2 = childHandle(asWasmActorContext(ctx), "queue");
|
|
2381
|
-
await callHandleAsync(queue2, "reset");
|
|
2382
|
-
}
|
|
2383
2346
|
actorScheduleAfter(ctx, durationMs, actionName, args) {
|
|
2384
2347
|
const schedule = childHandle(asWasmActorContext(ctx), "schedule");
|
|
2385
2348
|
callHandle(schedule, "after", wasmNumber(durationMs), actionName, args);
|
|
@@ -2724,17 +2687,8 @@ function getOrCreateNativeSqlDatabase(runtime, ctx) {
|
|
|
2724
2687
|
return cachedDatabase;
|
|
2725
2688
|
}
|
|
2726
2689
|
const database = wrapJsNativeDatabase({
|
|
2727
|
-
exec: (sql
|
|
2728
|
-
|
|
2729
|
-
sql,
|
|
2730
|
-
leaseKey === void 0 ? void 0 : { key: leaseKey, timeoutMs: leaseTimeoutMs }
|
|
2731
|
-
),
|
|
2732
|
-
execute: (sql, params, leaseKey, leaseTimeoutMs) => runtime.actorSqlExecute(
|
|
2733
|
-
ctx,
|
|
2734
|
-
sql,
|
|
2735
|
-
params,
|
|
2736
|
-
leaseKey === void 0 ? void 0 : { key: leaseKey, timeoutMs: leaseTimeoutMs }
|
|
2737
|
-
),
|
|
2690
|
+
exec: (sql) => runtime.actorSqlExec(ctx, sql),
|
|
2691
|
+
execute: (sql, params) => runtime.actorSqlExecute(ctx, sql, params),
|
|
2738
2692
|
query: (sql, params) => runtime.actorSqlQuery(ctx, sql, params),
|
|
2739
2693
|
run: (sql, params) => runtime.actorSqlRun(ctx, sql, params),
|
|
2740
2694
|
metrics: () => runtime.actorSqlMetrics(ctx),
|
|
@@ -2994,14 +2948,6 @@ function serializeWorkflowEntryKind(kind) {
|
|
|
2994
2948
|
originalName: kind.val.originalName
|
|
2995
2949
|
}
|
|
2996
2950
|
};
|
|
2997
|
-
case "WorkflowVersionCheckEntry":
|
|
2998
|
-
return {
|
|
2999
|
-
tag: kind.tag,
|
|
3000
|
-
val: {
|
|
3001
|
-
resolved: kind.val.resolved,
|
|
3002
|
-
latest: kind.val.latest
|
|
3003
|
-
}
|
|
3004
|
-
};
|
|
3005
2951
|
}
|
|
3006
2952
|
}
|
|
3007
2953
|
function serializeWorkflowHistoryForJson(data) {
|
|
@@ -4068,9 +4014,6 @@ var ActorContextHandleAdapter = class {
|
|
|
4068
4014
|
}
|
|
4069
4015
|
return this.#sql;
|
|
4070
4016
|
}
|
|
4071
|
-
async actorUds() {
|
|
4072
|
-
return await this.#runtime.actorUdsProvision(this.#ctx);
|
|
4073
|
-
}
|
|
4074
4017
|
get db() {
|
|
4075
4018
|
if (!this.#databaseProvider) {
|
|
4076
4019
|
throw databaseNotConfiguredError();
|
|
@@ -4724,15 +4667,17 @@ function withConnContext(runtime, ctx, conn, clientFactory, schemas = {}, databa
|
|
|
4724
4667
|
);
|
|
4725
4668
|
}
|
|
4726
4669
|
function buildActorConfig(definition, registryConfig, runtimeKind) {
|
|
4670
|
+
var _a;
|
|
4727
4671
|
const config = definition.config;
|
|
4728
4672
|
const options = config.options ?? {};
|
|
4729
4673
|
const canHibernate = options.canHibernateWebSocket;
|
|
4674
|
+
const sqliteProfiling = (_a = config.db) == null ? void 0 : _a.sqliteProfiling;
|
|
4730
4675
|
return {
|
|
4731
4676
|
name: options.name,
|
|
4732
4677
|
icon: options.icon,
|
|
4733
4678
|
hasDatabase: config.db !== void 0,
|
|
4679
|
+
sqliteProfiling,
|
|
4734
4680
|
remoteSqlite: config.db !== void 0 && sqliteBackendForConfig(registryConfig) === "remote",
|
|
4735
|
-
experimentalActorUds: registryConfig.experimentalActorUds,
|
|
4736
4681
|
hasState: config.state !== void 0 || typeof config.createState === "function",
|
|
4737
4682
|
canHibernateWebsocket: typeof canHibernate === "boolean" ? canHibernate : void 0,
|
|
4738
4683
|
stateSaveIntervalMs: options.stateSaveInterval,
|
|
@@ -4917,7 +4862,7 @@ function buildNativeFactory(runtime, registryConfig, definition) {
|
|
|
4917
4862
|
}
|
|
4918
4863
|
);
|
|
4919
4864
|
};
|
|
4920
|
-
const isPublicPerActorPath = jsRequest.method === "GET" && url.pathname.startsWith("/inspector/custom-tabs/");
|
|
4865
|
+
const isPublicPerActorPath = jsRequest.method === "GET" && (url.pathname === "/inspector/tab-config" || url.pathname.startsWith("/inspector/custom-tabs/"));
|
|
4921
4866
|
if (!isPublicPerActorPath) {
|
|
4922
4867
|
try {
|
|
4923
4868
|
await runtime.actorVerifyInspectorAuth(
|
|
@@ -4993,47 +4938,6 @@ function buildNativeFactory(runtime, registryConfig, definition) {
|
|
|
4993
4938
|
messages
|
|
4994
4939
|
});
|
|
4995
4940
|
}
|
|
4996
|
-
if (url.pathname === "/inspector/queue" && jsRequest.method === "DELETE") {
|
|
4997
|
-
await runtime.actorQueueReset(ctx);
|
|
4998
|
-
return jsonResponse({});
|
|
4999
|
-
}
|
|
5000
|
-
if (url.pathname === "/inspector/queue" && jsRequest.method === "POST") {
|
|
5001
|
-
let body;
|
|
5002
|
-
try {
|
|
5003
|
-
body = await jsRequest.json();
|
|
5004
|
-
} catch {
|
|
5005
|
-
return errorResponse(
|
|
5006
|
-
new RivetError(
|
|
5007
|
-
"actor",
|
|
5008
|
-
"invalid_request",
|
|
5009
|
-
"Invalid inspector JSON body",
|
|
5010
|
-
{ public: true }
|
|
5011
|
-
),
|
|
5012
|
-
400
|
|
5013
|
-
);
|
|
5014
|
-
}
|
|
5015
|
-
const name = body.name ?? "";
|
|
5016
|
-
if (name === "") {
|
|
5017
|
-
return errorResponse(
|
|
5018
|
-
new RivetError(
|
|
5019
|
-
"actor",
|
|
5020
|
-
"invalid_request",
|
|
5021
|
-
"Queue message name must not be empty",
|
|
5022
|
-
{ public: true }
|
|
5023
|
-
),
|
|
5024
|
-
400
|
|
5025
|
-
);
|
|
5026
|
-
}
|
|
5027
|
-
const cbor = encodeCborCompat(
|
|
5028
|
-
body.body ?? null
|
|
5029
|
-
);
|
|
5030
|
-
const message = await runtime.actorQueueSend(ctx, name, cbor);
|
|
5031
|
-
return jsonResponse({
|
|
5032
|
-
id: message.id().toString(),
|
|
5033
|
-
name: message.name(),
|
|
5034
|
-
createdAtMs: message.createdAt()
|
|
5035
|
-
});
|
|
5036
|
-
}
|
|
5037
4941
|
if (url.pathname === "/inspector/traces" && jsRequest.method === "GET") {
|
|
5038
4942
|
return jsonResponse({ otlp: [], clamped: false });
|
|
5039
4943
|
}
|
|
@@ -5920,11 +5824,7 @@ var Registry = class {
|
|
|
5920
5824
|
#shutdownInFlight = null;
|
|
5921
5825
|
#signalHandlers = {};
|
|
5922
5826
|
constructor(config, deps) {
|
|
5923
|
-
var _a;
|
|
5924
5827
|
this.#config = config;
|
|
5925
|
-
if ((_a = config.logging) == null ? void 0 : _a.baseLogger) {
|
|
5926
|
-
configureBaseLogger(config.logging.baseLogger);
|
|
5927
|
-
}
|
|
5928
5828
|
this.#buildConfiguredRegistry = (deps == null ? void 0 : deps.buildConfiguredRegistry) ?? buildConfiguredRegistry;
|
|
5929
5829
|
this.routes = {
|
|
5930
5830
|
health: () => this.#healthRoute(),
|