Path to SQLite database file.
Gateway configuration for session-type jobs.
OptionaltokenPath?: stringPath to file containing Gateway auth token.
OpenClaw Gateway URL.
Bind address for the HTTP server. Defaults to the platform-standard bind address.
Logging configuration.
Optionalfile?: stringOptional log file path.
Log level threshold (trace, debug, info, warn, error, fatal).
Maximum number of concurrent job executions.
Notification configuration for job completion events.
Default Slack channel ID for failure notifications.
Default Slack channel ID for success notifications.
OptionalslackTokenPath?: stringPath to Slack bot token file.
HTTP server port for the runner API.
Interval in milliseconds for job reconciliation checks.
Custom command runners keyed by file extension. The command string is split on whitespace; first token is the executable, rest are prefix args before the script path. Falls back to built-in defaults for unconfigured extensions.
Number of days to retain completed run records.
Grace period in milliseconds for shutdown completion.
Interval in milliseconds for expired state cleanup task.
Optionaldeps: RunnerDeps
Create the runner. Initializes database, scheduler, API server, and sets up graceful shutdown.