Skip to content

Commit 6711f05

Browse files
committed
Push rizzcharts down in preparation for Kotlin and Java versions.
1 parent 732968d commit 6711f05

14 files changed

Lines changed: 54 additions & 16 deletions

File tree

samples/agent/adk/orchestrator/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Subagents are configured using RemoteA2aAgent which translates ADK events to A2A
3838
```
3939

4040
```bash
41-
cd samples/agent/adk/rizzcharts
41+
cd samples/agent/adk/rizzcharts/python
4242
uv run . --port=10005
4343
```
4444

samples/agent/adk/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ url = "https://pypi.org/simple"
1717
default = true
1818

1919
[tool.uv.workspace]
20-
members = ["contact_lookup", "contact_multiple_surfaces", "orchestrator", "restaurant_finder", "rizzcharts", "mcp_app_proxy"]
20+
members = ["contact_lookup", "contact_multiple_surfaces", "orchestrator", "restaurant_finder", "rizzcharts/python", "mcp_app_proxy"]
2121

2222
[tool.uv.sources]
2323
a2ui-agent = { path = "../../../agent_sdks/python", editable = true }
@@ -40,4 +40,5 @@ pyink-annotation-pragmas = [
4040
[dependency-groups]
4141
dev = [
4242
"pyink>=24.10.0",
43+
"pytest>=9.0.2",
4344
]
File renamed without changes.

samples/agent/adk/rizzcharts/README.md renamed to samples/agent/adk/rizzcharts/python/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This sample uses the Agent Development Kit (ADK) along with the A2A protocol to
1313
1. Navigate to the samples directory:
1414

1515
```bash
16-
cd samples/agent/adk/rizzcharts
16+
cd samples/agent/adk/rizzcharts/python
1717
```
1818

1919
2. Create an environment file with your API key:
@@ -37,4 +37,4 @@ All operational data received from an external agent—including its AgentCard,
3737

3838
Similarly, any UI definition or data stream received must be treated as untrusted. Malicious agents could attempt to spoof legitimate interfaces to deceive users (phishing), inject malicious scripts via property values (XSS), or generate excessive layout complexity to degrade client performance (DoS). If your application supports optional embedded content (such as iframes or web views), additional care must be taken to prevent exposure to malicious external sites.
3939

40-
Developer Responsibility: Failure to properly validate data and strictly sandbox rendered content can introduce severe vulnerabilities. Developers are responsible for implementing appropriate security measures—such as input sanitization, Content Security Policies (CSP), strict isolation for optional embedded content, and secure credential handling—to protect their systems and users.
40+
Developer Responsibility: Failure to properly validate data and strictly sandbox rendered content can introduce severe vulnerabilities. Developers are responsible for implementing appropriate security measures—such as input sanitization, Content Security Policies (CSP), strict isolation for optional embedded content, and secure credential handling—to protect their systems and users.
File renamed without changes.
File renamed without changes.

samples/agent/adk/rizzcharts/agent.py renamed to samples/agent/adk/rizzcharts/python/agent.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,13 +147,13 @@ def _build_schema_manager(self, version: str) -> A2uiSchemaManager:
147147
CatalogConfig.from_path(
148148
name="rizzcharts",
149149
catalog_path=(
150-
f"catalog_schemas/{version}/rizzcharts_catalog_definition.json"
150+
f"../catalog_schemas/{version}/rizzcharts_catalog_definition.json"
151151
),
152-
examples_path=f"examples/rizzcharts_catalog/{version}",
152+
examples_path=f"../examples/rizzcharts_catalog/{version}",
153153
),
154154
BasicCatalog.get_config(
155155
version=version,
156-
examples_path=f"examples/standard_catalog/{version}",
156+
examples_path=f"../examples/standard_catalog/{version}",
157157
),
158158
],
159159
accepts_inline_catalogs=True,
File renamed without changes.

samples/agent/adk/rizzcharts/prompt_builder.py renamed to samples/agent/adk/rizzcharts/python/prompt_builder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030
CatalogConfig.from_path(
3131
name="rizzcharts",
3232
catalog_path="rizzcharts_catalog_definition.json",
33-
examples_path=f"examples/rizzcharts_catalog/{version}",
33+
examples_path=f"../examples/rizzcharts_catalog/{version}",
3434
),
3535
BasicCatalog.get_config(
3636
version=version,
37-
examples_path=f"examples/standard_catalog/{version}",
37+
examples_path=f"../examples/standard_catalog/{version}",
3838
),
3939
],
4040
accepts_inline_catalogs=True,

samples/agent/adk/rizzcharts/pyproject.toml renamed to samples/agent/adk/rizzcharts/python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ url = "https://pypi.org/simple"
4444
default = true
4545

4646
[tool.uv.sources]
47-
a2ui-agent = { path = "../../../../agent_sdks/python", editable = true }
47+
a2ui-agent = { path = "../../../../../agent_sdks/python", editable = true }

0 commit comments

Comments
 (0)