dev_buddy 0.2.0
dev_buddy: ^0.2.0 copied to clipboard
Human-readable Flutter diagnostics overlay. Translates DevTools metrics into actionable fix suggestions with zero external dependencies.
Changelog #
0.2.0 #
Added #
DevBuddyDiagnosticServer— Debug-only HTTP server for MCP bridge on localhost:8585enableMcpServerandmcpServerPortparameters onDevBuddyOverlayImpl- Dark mode support in diagnostic panel
- i18n string activation in panel UI
- Conditional compilation: debug = full overlay, release = zero bytes
Changed #
DevBuddyControllernow delegates toDevBuddyEngineDevBuddyModulenow extendsDiagnosticModulefrom engine- NetworkModule periodic cleanup timer (60s) prevents idle memory leak
- Event batching upgraded from fixed 500ms to adaptive 3-tier priority system
Fixed #
- FPS listener leak in overlay dispose
- RebuildTracker callback explosion (100 rebuilds → 100 callbacks per frame)
- Error handler chaining safety (try-catch on previous handlers)
- DraggablePill off-screen drag (bounds clamping)
0.1.0 #
Added #
- Core plugin architecture with
DevBuddyModuleabstract class PerformanceModule- FPS monitoring and jank detection viaSchedulerBindingErrorTranslatorModule- 25+ Flutter error patterns with human-readable translationsNetworkModule- HTTP traffic monitoring viaHttpOverrides(works with any HTTP client)MemoryModule- RSS memory sampling with leak heuristic detectionRebuildTrackerModule- Widget rebuild counting withType-based keys for performanceDevBuddyOverlayImpl- Draggable floating pill with severity-based coloringDevBuddyPanel- Bottom sheet with animated slide-up and module tabsDevBuddyNavigatorObserverImpl- Per-screen metrics trackingDevBuddyExporterImpl- JSON and text report export- i18n support (English and Turkish)
DevBuddyConfigfor customizable thresholds- Event batching (500ms) to prevent UI thrashing
- Zero external dependencies in core package
- 155 tests across all packages
