Package-level declarations
Types
Link copied to clipboard
data class AnalysisResult(val message: String, val explanation: String, val retrySignal: RetrySignal, val confidence: Int, val throwableMaker: (message: String) -> Throwable)
A returned analysis result in a ShellSentryExtension.
Link copied to clipboard
@JsonClass(generateAdapter = true)
An issue that can be reported to Bugsnag.
Link copied to clipboard
Base class for an issue that can be reported to Bugsnag. This is a Throwable for BugSnag purposes but doesn't fill in a stacktrace.
Link copied to clipboard
Link copied to clipboard
data class ShellSentry(command: String, workingDir: Path, cacheDir: Path = createTempDirectory("shellsentry"), bugsnagKey: String? = null, config: ShellSentryConfig = ShellSentryConfig(), verbose: Boolean = false, debug: Boolean = false, noExit: Boolean = false, logger: (String) -> Unit = ::println, extensions: List<ShellSentryExtension> = emptyList())
Executes a command with Bugsnag tracing and retries as needed.
Link copied to clipboard
Executes a command with Bugsnag tracing and retries as needed. This CLI is a shim over ShellSentry.
Link copied to clipboard
@JsonClass(generateAdapter = true)
Represents a configuration for ShellSentryCli.
Link copied to clipboard
ShellSentryExtension is an extension API to bring your own, complex checkers to ShellSentry.