New tool search_flights_streaming: schema is registered on the middleware
config and emitted at TOOL_CALL_START. As the LLM streams flight data
as tool args, the middleware partial-parses and emits dataModelUpdate
progressively — flight cards appear one by one.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The Card schema's data paths (/flightNumber, /origin, etc.) need a
List root with dataBinding: /flights to scope each card's data context.
Without it, paths resolve at the root where data lives under /flights/0/.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
pyproject.toml [tool.uv.sources] points copilotkit at the local
sdk-python directory. Survives uv sync / LangGraph CLI restarts.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Schema is now a plain .json file — paste-able directly from a schema
builder. load_schema() reads it, a2ui_surface() does the rest.
Updated Flight TypedDict to match new schema's data bindings.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Tool file is now just the TypedDict + one a2ui_surface() call.
Schema lives in a2ui_flight_schema.py.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
a2ui.py handles operations assembly, data typing, and normalization.
search_flights is now just schema + one a2ui_surface() call.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Make it explicit in code that the tool emits three separate A2UI
messages: schema (surfaceUpdate), data (dataModelUpdate), and
render trigger (beginRendering). The schema is fixed; only data
changes per invocation.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Adds a data-bound declarative UI tool (search_flights) demonstrating the
full A2UI lifecycle: surfaceUpdate → dataModelUpdate → beginRendering.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Adjust revenue figures so no single category exceeds ~35%, producing
a more visually balanced pie chart during demos.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>