[FEATURE]: Implement minimal features of v1.0 protocol in Dart a2ui_core to enable new framework adapter
We are building a new Flutter framework adapter on top of the Dart a2ui_core.
Ideally, we'd update a2ui_core to fully align with the blueprint for the core SDK, and to implement all v1.0 protocol features.
In practice, we'd like to parallelize implementing the Flutter framework adapter, and updating a2ui_core to the v1.0 specification. The worry is that the framework adapter will need to be rearchitected partway through based on the v1.0 changes.
Instead, let's figure out what will be changing about the API and contract between the core and framework adapter layers in order to support v1.0, and make those changes ASAP, so that the framework adapter will be built in a v1.0-ready way.
We can assume that https://github.com/a2ui-project/a2ui/pull/2669 which adds the node layer will be merged, because that is ready.
Consider:
- The v1.0-ready blueprint for the core library
- The Typescript implementation of v1.0 in web_core
- The framework adapter blueprint (not updated for v1.0 yet)
- Gspencer-goog's recent changes to support v1.0 in web framework adapters e.g. https://github.com/a2ui-project/a2ui/pull/2861, https://github.com/a2ui-project/a2ui/pull/2862, https://github.com/a2ui-project/a2ui/pull/2860 - it'd be interesting to see the diffs of those
Let's make a plan to do the minimal v1.0 work in core that will affect the framework adapter, then finish the framework adapter and core in parallel.
Source: a2ui-project/a2ui