Skip to content
Merged
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
8 changes: 4 additions & 4 deletions .github/workflows/python_agent_sdk_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,25 +50,25 @@ jobs:
pip install uv

- name: Check Formatting
working-directory: agent_sdks/python
working-directory: agent_sdks/python/a2ui_agent
run: uv run pyink --check .

- name: Check Formatting for Conformance
working-directory: agent_sdks/conformance
run: uv run --with pyink pyink --check tests/

- name: Run unit tests
working-directory: agent_sdks/python
working-directory: agent_sdks/python/a2ui_agent
run: uv run --with pytest pytest tests/

- name: Run conformance YAML validation
working-directory: agent_sdks/conformance
run: uv run pytest

- name: Build the python SDK
working-directory: agent_sdks/python
working-directory: agent_sdks/python/a2ui_agent
run: uv build .

- name: Run validation scripts on assets packing
working-directory: agent_sdks/python
working-directory: agent_sdks/python/a2ui_agent
run: uv run python tests/integration/verify_load_real.py
2 changes: 1 addition & 1 deletion .github/workflows/python_samples_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:

- name: Validate Sample Examples
run: |
PYTHONPATH=agent_sdks/python/src uv run --project agent_sdks/python pytest -vv samples/agent/adk/tests/test_examples_validation.py
PYTHONPATH=agent_sdks/python/a2ui_agent/src uv run --project agent_sdks/python/a2ui_agent pytest -vv samples/agent/adk/tests/test_examples_validation.py

- name: Build orchestrator
working-directory: samples/agent/adk/orchestrator
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ coverage/
# Generated spec assets in the agent SDK
## old agent SDK path
a2a_agents/python/a2ui_agent/src/a2ui/assets/**/*.json
## new agent SDK path
agent_sdks/python/src/a2ui/assets/**/*.json
## new agent SDK path
agent_sdks/python/a2ui_agent/src/a2ui/assets/**/*.json
## Generated files for sandbox frame.
samples/client/angular/projects/mcp_calculator/public/mcp_apps_inner_iframe/

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

def _get_conformance_path(filename):
return os.path.abspath(
os.path.join(os.path.dirname(__file__), "../../../conformance", filename)
os.path.join(os.path.dirname(__file__), "../../../../conformance", filename)
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

def _get_conformance_path(filename):
return os.path.abspath(
os.path.join(os.path.dirname(__file__), "../../../conformance", filename)
os.path.join(os.path.dirname(__file__), "../../../../conformance", filename)
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def load(self):

def _get_conformance_path(filename):
return os.path.abspath(
os.path.join(os.path.dirname(__file__), "../../../conformance", filename)
os.path.join(os.path.dirname(__file__), "../../../../conformance", filename)
)


Expand Down Expand Up @@ -229,7 +229,9 @@ def test_catalog_conformance(name, test_case):
elif action == "load":
path = args.get("path")
if path:
full_path = os.path.join(os.path.dirname(__file__), "../../../conformance", path)
full_path = os.path.join(
os.path.dirname(__file__), "../../../../conformance", path
)
else:
full_path = None
validate = args.get("validate", False)
Expand Down Expand Up @@ -298,7 +300,7 @@ def test_schema_manager_conformance(name, test_case):
configs = []
for cfg in catalog_configs:
full_path = os.path.join(
os.path.dirname(__file__), "../../../conformance", cfg["path"]
os.path.dirname(__file__), "../../../../conformance", cfg["path"]
)
configs.append(CatalogConfig.from_path(name=cfg["name"], catalog_path=full_path))
manager = A2uiSchemaManager(
Expand All @@ -322,7 +324,7 @@ def test_schema_manager_conformance(name, test_case):
examples_path = args.get("examples_path")
if examples_path:
examples_path = os.path.join(
os.path.dirname(__file__), "../../../conformance", examples_path
os.path.dirname(__file__), "../../../../conformance", examples_path
)

config = BasicCatalog.get_config(version)
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion eval/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ url = "https://pypi.org/simple"
default = true

[tool.uv.sources]
a2ui-agent-sdk = { path = "../agent_sdks/python", editable = true }
a2ui-agent-sdk = { path = "../agent_sdks/python/a2ui_agent", editable = true }
4 changes: 2 additions & 2 deletions eval/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion samples/agent/adk/custom-components-example/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ build-backend = "hatchling.build"
allow-direct-references = true

[tool.uv.sources]
a2ui-agent-sdk = { path = "../../../../agent_sdks/python", editable = true }
a2ui-agent-sdk = { path = "../../../../agent_sdks/python/a2ui_agent", editable = true }
2 changes: 1 addition & 1 deletion samples/agent/adk/mcp_app_proxy/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ build-backend = "hatchling.build"
packages = ["."]

[tool.uv.sources]
a2ui-agent-sdk = { path = "../../../../agent_sdks/python", editable = true }
a2ui-agent-sdk = { path = "../../../../agent_sdks/python/a2ui_agent", editable = true }
2 changes: 1 addition & 1 deletion samples/agent/adk/orchestrator/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ url = "https://pypi.org/simple"
default = true

[tool.uv.sources]
a2ui-agent-sdk = { path = "../../../../agent_sdks/python", editable = true }
a2ui-agent-sdk = { path = "../../../../agent_sdks/python/a2ui_agent", editable = true }
2 changes: 1 addition & 1 deletion samples/agent/adk/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ default = true
members = ["custom-components-example", "orchestrator", "restaurant_finder", "rizzcharts/python", "mcp_app_proxy"]

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

[tool.pyink]
unstable = true
Expand Down
2 changes: 1 addition & 1 deletion samples/agent/adk/restaurant_finder/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ url = "https://pypi.org/simple"
default = true

[tool.uv.sources]
a2ui-agent-sdk = { path = "../../../../agent_sdks/python", editable = true }
a2ui-agent-sdk = { path = "../../../../agent_sdks/python/a2ui_agent", editable = true }
2 changes: 1 addition & 1 deletion samples/agent/adk/rizzcharts/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ url = "https://pypi.org/simple"
default = true

[tool.uv.sources]
a2ui-agent-sdk = { path = "../../../../../agent_sdks/python", editable = true }
a2ui-agent-sdk = { path = "../../../../../agent_sdks/python/a2ui_agent", editable = true }
12 changes: 6 additions & 6 deletions samples/agent/adk/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion samples/mcp/a2ui-over-mcp-recipe/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ url = "https://pypi.org/simple"
default = true

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

[tool.pyright]
include = ["."]
Expand Down
Loading
Loading