Skip to content

Commit d2a9676

Browse files
committed
feat: initialize agent SDK core with schema definitions and basic UI catalog components
1 parent 64291ed commit d2a9676

20 files changed

Lines changed: 3308 additions & 3 deletions

.github/workflows/python_agent_sdk_build_and_test.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ jobs:
5353
working-directory: agent_sdks/python/a2ui_agent
5454
run: uv run pyink --check .
5555

56+
- name: Check Formatting for Core
57+
working-directory: agent_sdks/python/a2ui_core
58+
run: uv run --with pyink pyink --check .
59+
5660
- name: Check Formatting for Conformance
5761
working-directory: agent_sdks/conformance
5862
run: uv run --with pyink pyink --check tests/
@@ -61,6 +65,10 @@ jobs:
6165
working-directory: agent_sdks/python/a2ui_agent
6266
run: uv run --with pytest pytest tests/
6367

68+
- name: Run unit tests for Core
69+
working-directory: agent_sdks/python/a2ui_core
70+
run: uv run --with pytest pytest tests/
71+
6472
- name: Run conformance YAML validation
6573
working-directory: agent_sdks/conformance
6674
run: uv run pytest
@@ -69,6 +77,10 @@ jobs:
6977
working-directory: agent_sdks/python/a2ui_agent
7078
run: uv build .
7179

80+
- name: Build python Core
81+
working-directory: agent_sdks/python/a2ui_core
82+
run: uv build .
83+
7284
- name: Run validation scripts on assets packing
7385
working-directory: agent_sdks/python/a2ui_agent
7486
run: uv run python tests/integration/verify_load_real.py

agent_sdks/python/a2ui_core/pyproject.toml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,23 @@ version = "0.1.0"
1818
description = "A2UI Python SDK - Core Library"
1919
readme = "README.md"
2020
requires-python = ">=3.14"
21-
dependencies = []
21+
dependencies = [
22+
"pydantic>=2.10.0",
23+
]
24+
25+
[dependency-groups]
26+
dev = [
27+
"pytest>=8.0.0",
28+
"pyink>=24.10.0",
29+
]
30+
31+
[build-system]
32+
requires = ["hatchling"]
33+
build-backend = "hatchling.build"
34+
35+
[tool.hatch.build.targets.wheel]
36+
packages = ["src/a2ui"]
37+
38+
[[tool.uv.index]]
39+
url = "https://pypi.org/simple"
40+
default = true

0 commit comments

Comments
 (0)