crash_pilot library
CrashPilot — Autonomous Self-Healing & Shorebird Hot-Patch Bot for Flutter Apps.
Classes
- AiProvider
- Abstract contract for LLM inference providers in CrashPilot.
- AiProviderFactory
- Factory to construct the requested AiProvider based on config.
- AstContext
- Context extracted from the Dart Abstract Syntax Tree (AST) around a crash site.
- ClaudeProvider
- Anthropic Claude AI Provider for synthesizing surgical patches.
- CrashlyticsWebhookParser
- Ingestion parser for Firebase Crashlytics Webhook JSON payloads.
- CrashPilotConfig
- Configuration options for the CrashPilot engine.
- CrashPilotEngine
- The Master Autonomous Orchestrator of CrashPilot.
- CrashPilotResult
- Comprehensive result of a CrashPilot self-healing run.
- CrashReport
- Represents an ingested production or test crash report.
- DartAstAnalyzer
- Dart AST Analyzer that extracts exact syntactic and semantic context for a crash site.
- DispatchResult
- Result of dispatching a verified patch to GitHub and/or Shorebird CodePush.
- GeminiProvider
- Gemini AI Provider for synthesizing surgical patches with automatic model discovery and fallback.
- GithubDispatcher
- Dispatches verified fixes to GitHub as fully documented Pull Requests.
- MockAiProvider
- Deterministic Mock AI Provider for offline testing and crash simulation.
- OpenAiProvider
- OpenAI GPT-4o Provider for synthesizing surgical patches.
- PatchApplier
- Applies surgical diffs to disk with atomic backup and rollback guarantees.
- PatchResult
- Result of an AI-synthesized surgical patch and accompanying regression test.
- PromptTemplates
- Structured prompt templates for synthesizing surgical Dart/Flutter hot-patches.
- ReflectionLoop
- Orchestrates the autonomous synthesize-verify-correct reflection loop.
- ReflectionLoopResult
- Feedback result after running the reflection loop.
- SandboxVerifier
- Sandboxed runner for static analysis and unit test verification.
- SentryWebhookParser
- Ingestion parser for Sentry Flutter Webhook JSON payloads.
- ShorebirdDispatcher
- Dispatches verified fixes directly to end-user devices via Shorebird OTA Hot-Patching.
- StackFrame
- Represents a stack frame in a Flutter/Dart stack trace.
- StackTraceParser
- Robust parser for Flutter and Dart stack traces.
- VerificationResult
- Represents the outcome of running static analysis and unit tests on a patch.