flutter_copilot 0.12.0
flutter_copilot: ^0.12.0 copied to clipboard
Copilot for Flutter apps. Let an AI agent understand and navigate your app UI through the semantics tree.
0.12.0 #
- Added retry/recovery engine with configurable exponential backoff for transient LLM failures.
- Added custom tools extension API — register
CustomActionHandlerimplementations for developer-defined actions. - Added analytics/metrics collection with
CopilotMetricsandMetricsCollectorfor success rates, duration, and step counts. - Added conversation memory engine with
MemoryStoreinterface andInMemoryStorefor multi-turn context. - Added parallel action execution — independent batched actions run concurrently via
Future.wait. - Added optional screenshot fallback for widgets with poor semantics.
- Added
@immutableannotations to all immutable classes. - Added dartdoc comments to all public APIs with code examples.
- Added Limitations, Performance, and Migration Guide sections to README.
- Refactored
CopilotSession— extractedPromptBuilder, DRY terminal states with_finish()helper. - Fixed hardcoded pointer IDs in
ActionExecutor— now uses auto-incrementing counter. - Fixed missing exports for
CustomActionandCustomActionHandler.
0.11.0 #
- Expanded action set to 18 types: tap, long_press, type_text, clear_text, replace_text, set_text_selection, keyboard_action, scroll, drag, long_press_drag, slider_to_value, adjust_value, dismiss, system_back, request_confirmation, wait, done, fail.
- Added action batching — model can call multiple independent tools in one response.
- Added
CopilotAccessModewithfullAccessandaskBeforeSensitiveActions. - Added
CopilotConfirmationRequestandCopilotConfirmationCallbackfor user approval flows. - Improved safety policy with custom
blockedLabelspatterns (String and RegExp). - Added
CopilotRunResultsealed types:CopilotCompleted,CopilotFailed,CopilotCancelled,CopilotMaxStepsExceeded. - Rewrote README with full architecture docs, badges, API reference, and use cases.
- Fixed
FlagsCollectionanalysis for Flutter 3.44.2 compatibility. - Redesigned example app with interactive font scale, add task dialog, commerce demo semantics, profile save feedback, and copilot panel auto-scroll.
0.10.0 #
- Added explicit platform support for Android, iOS, Linux, macOS, Windows, and Web.
- Redesigned example app with polished Material 3 UI and improved UX.
- Added proper state management with
AppStateandAppStateScope. - Added themed components:
CopilotPanel,PromptInput,StatCard,SectionHeader. - Improved accessibility semantics for copilot actions.
- Updated dependencies.
0.9.1 #
- Initial MVP package.
- Added
CopilotApp,CopilotController, andCopilotSession. - Added semantics scene capture and compression.
- Added provider-agnostic LLM adapter interface.
- Added fake and OpenAI LLM adapters.
- Added UI action executor for tap, text input, scroll, and wait.
- Added default safety policy for destructive labels.
- Added example app and focused tests.