Slack webhooks arrive unsigned from Slack servers; run in pre-auth phase.
Health check for the Slack extension. Reports whether the adapter is initialized and ready.
Initialize the Slack extension.
Creates and initializes the SlackAdapter, then sets up either:
OptionalOnOptional lifecycle hook called after ALL extensions have been mounted across all phases. Ideal for cross-extension service wiring (e.g. connecting a webhook router to a telephony service).
OptionalOnOptional: Called when configuration changes at runtime.
Not all extensions need to support hot-reloading of configuration. Override this method if your extension can dynamically adjust its behavior without a full restart.
The updated configuration from mj.config.cjs.
Shut down the Slack extension. Releases the adapter and disconnects Socket Mode.
Abstract base class for MJServer extensions.
Extensions are discovered via
@RegisterClass(BaseServerExtension, 'DriverClassName')and matched to config entries inmj.config.cjsby theirDriverClassname.MJServer calls
Initialize()during startup, passing the Express app so the extension can register its own routes, middleware, and lifecycle hooks.Lifecycle
serverExtensions[](Open App packages + host overlay)@RegisterClass(BaseServerExtension, driverClass)ClassFactory.CreateInstance()Initialize(context)(or legacyInitialize(app, config)) — extension registers routesOnAllExtensionsMounted(context)if implementedHealthCheck()calls for monitoringShutdown()for cleanup