Skip to content

Add Migration Plan#721

Draft
gspencergoog wants to merge 9 commits intomainfrom
feature/v0.9-migration
Draft

Add Migration Plan#721
gspencergoog wants to merge 9 commits intomainfrom
feature/v0.9-migration

Conversation

@gspencergoog
Copy link
Collaborator

Description

A giant change to move to A2UI 0.9 from 0.8 and integrate the "Bring your own LLM" API.

gemini-code-assist[bot]

This comment was marked as resolved.

@gspencergoog gspencergoog force-pushed the feature/v0.9-migration branch from e59b54e to c472f35 Compare February 14, 2026 01:15
Removed the following legacy packages:
- packages/genui_dartantic
- packages/genui_firebase_ai
- packages/genui_google_generative_ai

Removed legacy examples:
- packages/genui_a2ui/example
- examples/custom_backend (if confirmed)
- packages/json_schema_builder: Migrated from `print` to `package:logging` for better output control.
- tool/test_and_fix: Migrated from `print` to `package:logging`.
Major refactor of the GenUI core framework to align with the A2UI v0.9 protocol.

Key changes:
- Catalog:
  - Renamed `CoreCatalog` to `BasicCatalog` and moved widgets to `basic_catalog_widgets`.
  - Implemented new A2UI v0.9 compatible widgets (AudioPlayer, Button, CheckBox, etc.).
- Architecture:
  - Introduced `SurfaceController`, `SurfaceRegistry`, and `DataModelStore` for better state management.
  - Added `PromptBuilder` and `Conversation` facade for simplified API usage.
  - Implemented `ExpressionParser` and function resolution logic.
- Transport:
  - Added `A2uiTransportAdapter` and `A2uiParserTransformer` for handling A2UI messages.
- Cleanup:
  - Removed legacy `ContentGenerator`, `UiTools`, and other obsolete core classes.
  - Deleted documentation and examples that are no longer relevant.
- Submodules:
  - Added `submodules/a2ui`.
Updated `genui_a2ui` to use the new `genui` core architecture.
- Removed `A2uiContentGenerator` (replaced by `A2uiAgentConnector` usage in `genui` core).
- Updated `A2uiAgentConnector` to work with the new `SurfaceController` and `Transport` interfaces.
- Added `logging_utils.dart`.
- General cleanup and modernization.
- catalog_gallery:
  - Added comprehensive samples for various scenarios (e-commerce, dashboard, etc.).
  - Updated tests and added integration tests.
  - Updated macOS/iOS build configurations.
- simple_chat:
  - Refactored to use new `ai_client` and `chat_session`.
  - Added integration tests.
- travel_app:
  - Refactored to use new `ai_client` structure.
  - Added Google Generative AI client implementation.
- Added comprehensive documentation:
  - `docs/DESIGN.md`
  - `docs/REVIEWING_GUIDE.md`
  - `docs/migration_0.7.0_to_0.8.0.md`
  - Architecture diagrams and assets.
- Updated configuration:
  - `.github/workflows/flutter_packages.yaml`
  - `analysis_options.yaml`
  - `README.md`
@gspencergoog gspencergoog force-pushed the feature/v0.9-migration branch from c472f35 to 866d779 Compare February 14, 2026 01:38
gemini-code-assist[bot]

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant