Optional ExperimentalautoConfigureServerless?: Optional ExperimentalbasePath?: stringBase path for the router. This is used to prefix all routes.
For example, if the base path is /api, then the route /actors will be
available at /api/actors.
Optional ExperimentaldefaultServerPort?: numberOptional ExperimentaldisableActorDriver?: booleanOptional ExperimentaldisableDefaultServer?: booleanOptionaldisableMetadataLookup?: booleanWhether to automatically perform health checks when the client is created.
Optionaldriver?: { actor: ActorDriverBuilder; manager: ManagerDriverBuilder; name: string }Machine-readable name to identify this driver by.
Optionalencoding?: "json" | "cbor" | "bare"Optionalendpoint?: stringEndpoint to connect to for Rivet Engine or RivetKit manager API.
OptionalgetUpgradeWebSocket?: GetUpgradeWebSocketOptionalheaders?: Record<string, string>Optional Experimentalinspector?: {OptionaldefaultEndpoint?: stringDefault RivetKit server endpoint for Rivet Inspector to connect to. This should be the same endpoint as what you use for your Rivet client to connect to RivetKit.
This is a convenience property just for printing out the inspector URL.
Optionalenabled?: boolean | { actor?: boolean; manager?: boolean }Optionaltoken?: (...args: unknown[]) => stringToken used to access the Inspector.
Optional Experimentallogging?: {Optional ExperimentalmaxIncomingMessageSize?: numberOptionalnamespace?: stringNamespace to connect to.
Optional ExperimentalnoWelcome?: booleanDisable welcome message.
Optional ExperimentaloverrideServerAddress?: stringOptional ExperimentalrunEngine?: booleanOptional ExperimentalrunEngineVersion?: stringOptionalrunnerKey?: stringUnique key for this runner. Runners connecting a given key will replace any other runner connected with the same key.
Optional ExperimentalrunnerKind?: "serverless" | "normal"Whether to run runners normally or have them managed serverlessly (by the Rivet Engine for example).
OptionalrunnerName?: stringName of the runner. This is used to group together runners in to different pools.
Optionaltoken?: stringToken to use to authenticate with the API.
OptionaltotalSlots?: numberHow many actors this runner can run.
Automatically configure serverless runners in the engine. Can only be used when runnerKind is "serverless". If true, uses default configuration. Can also provide custom configuration.