Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 14 additions & 9 deletions python/a2ui_agent/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
## Unreleased

- `resolve_catalogs` reads the capabilities of v0.9 and v0.9.1 catalogs from
the `v0.9.1` entry, falling back to `v0.9` when `v0.9.1` is absent or
activates no catalog. When a renderer sends both entries, both are validated,
and each inline catalog targets the protocol version of its declaring entry.
`read_renderer_capabilities` returns each of the two entries present.
[#3135](https://github.com/a2ui-project/a2ui/pull/3135)
- `DirectJsonFormat`, `DirectJsonParser` and `schema_to_prompt` accept v0.9 and
v0.9.1 catalogs together, as `RendererState` does.
[#3135](https://github.com/a2ui-project/a2ui/pull/3135)
- **BREAKING CHANGE**: (v1_0) `validate_payload`, `RendererState.apply`, and inference format parsers check function calls nested in `callRendererFunction.callFunction.args` under the agent's caller boundary instead of the renderer's, rejecting `rendererOnly` functions while accepting `agentOnly` and `rendererOrAgent` functions. Recommended migration: set `allowedCallers` to `"rendererOrAgent"` or `"agentOnly"` on functions nested inside `callRendererFunction` arguments ([#3774](https://github.com/a2ui-project/a2ui/issues/3774), [#4336](https://github.com/a2ui-project/a2ui/pull/4336)).
- **BREAKING CHANGE**: `resolve_catalogs` and `read_renderer_capabilities`
reject inline catalogs whose local `#...` `$ref` pointers do not resolve
Expand All @@ -21,6 +12,15 @@
target protocol version's `common_types.json`
([#3165](https://github.com/a2ui-project/a2ui/issues/3165),
[#4367](https://github.com/a2ui-project/a2ui/pull/4367)).
- `resolve_catalogs` reads the capabilities of v0.9 and v0.9.1 catalogs from
the `v0.9.1` entry, falling back to `v0.9` when `v0.9.1` is absent or
activates no catalog. When a renderer sends both entries, both are validated,
and each inline catalog targets the protocol version of its declaring entry.
`read_renderer_capabilities` returns each of the two entries present.
[#3135](https://github.com/a2ui-project/a2ui/pull/3135)
- `DirectJsonFormat`, `DirectJsonParser` and `schema_to_prompt` accept v0.9 and
v0.9.1 catalogs together, as `RendererState` does.
[#3135](https://github.com/a2ui-project/a2ui/pull/3135)
- `ExpressPromptGenerator` now traverses `oneOf`, `anyOf`, `allOf`, and locally
flattened wire envelopes when extracting structured map-key instructions and
enum constraints, and `ExpressCompiler` now coerces literal string arrays into
Expand Down Expand Up @@ -56,6 +56,11 @@
`ComponentSlot`, `ComponentKey`, `SlotKind`, `ActionSpec`,
`ExpressSurfaceSpec`, `build_inference_catalogs`, and `lower_for_transport`
([#4320](https://github.com/a2ui-project/a2ui/pull/4320)).
- Add `DecisionCascadeRouter`, `CascadeConfig`, `CascadeTier`, `RouteDecision`,
`SurfaceTemplateSpec`, and `CascadeBatchFormatter` in
`a2ui.inference_formats.experimental.decision_cascade` for single-batch UI
gating, template selection, and catalog pruning
([#4321](https://github.com/a2ui-project/a2ui/pull/4321)).

## 0.12.1 (2026-11-23)

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

"""Experimental single-batch decision cascade router for A2UI surfaces."""

from __future__ import annotations

from .router import (
CascadeBatchFormatter,
CascadeConfig,
CascadeTier,
DecisionCascadeRouter,
RouteDecision,
SurfaceTemplateSpec,
)

__all__ = [
"CascadeBatchFormatter",
"CascadeConfig",
"CascadeTier",
"DecisionCascadeRouter",
"RouteDecision",
"SurfaceTemplateSpec",
]
Loading
Loading