fix frontend SVG results and downloads

This commit is contained in:
A2A Cloud Operator
2026-07-19 12:41:49 -03:00
parent 188fe0c27d
commit 73f84500d3
6 changed files with 55 additions and 5 deletions

View File

@@ -17,6 +17,7 @@ def test_full_stack_product_contract():
manifest = (ROOT / "a2a.yaml").read_text(encoding="utf-8")
source = (ROOT / "agent.py").read_text(encoding="utf-8")
frontend = (ROOT / "frontend" / "src" / "App.jsx").read_text(encoding="utf-8")
frontend_client = (ROOT / "frontend" / "src" / "a2a.js").read_text(encoding="utf-8")
assert "frontend:" in manifest and "mount: /app" in manifest
assert "public: false" in manifest
@@ -26,6 +27,8 @@ def test_full_stack_product_contract():
assert "AgentPlatformResources" in source and "AgentDatabase(" in source
assert "Skill runner" not in frontend
assert "generate_svg_asset" in frontend
assert "Download SVG" in frontend
assert "unwrapSkillResponse(payload)" in frontend_client
assert "DATABASE_URL" not in frontend
migrations = list((ROOT / "db" / "migrations").glob("*.sql"))