From 49625d9d3a04d69f82deac176d48ea2ed001aed6 Mon Sep 17 00:00:00 2001 From: a2a-code-editor Date: Sat, 18 Jul 2026 07:51:31 +0000 Subject: [PATCH] code editor: Agent Studio improvement iteration 2 for `contract-clock-studio-v1`. Goa --- a2a.yaml | 2 +- agent.py | 4 ++-- tests/test_full_stack_contract.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/a2a.yaml b/a2a.yaml index 3457071..9081a5c 100644 --- a/a2a.yaml +++ b/a2a.yaml @@ -1,5 +1,5 @@ name: contract-clock-studio-v1 -version: 0.1.2 +version: 0.1.3 entrypoint: agent:ContractClockStudioV1 expose: public: false diff --git a/agent.py b/agent.py index eba6a8f..410d4f2 100644 --- a/agent.py +++ b/agent.py @@ -71,7 +71,7 @@ class ContractClockStudioV1(A2AAgent[ContractClockStudioV1Config, PlatformUserAu "contracts, saves user-scoped timelines, and reopens them in a packed " "one-page studio." ) - version = "0.1.2" + version = "0.1.3" config_model = ContractClockStudioV1Config auth_model = PlatformUserAuth @@ -197,7 +197,7 @@ class ContractClockStudioV1(A2AAgent[ContractClockStudioV1Config, PlatformUserAu "document from the packed frontend." ), timeout_seconds=30, - idempotent=True, + idempotent=False, cost_class="cheap", ) async def analyze_contract_upload( diff --git a/tests/test_full_stack_contract.py b/tests/test_full_stack_contract.py index 1261924..7ca365f 100644 --- a/tests/test_full_stack_contract.py +++ b/tests/test_full_stack_contract.py @@ -21,7 +21,7 @@ def test_full_stack_product_contract(): frontend = (ROOT / "frontend" / "src" / "App.jsx").read_text(encoding="utf-8") browser_client = (ROOT / "frontend" / "src" / "a2a.js").read_text(encoding="utf-8") - assert "version: 0.1.1" in manifest + assert "version: 0.1.3" in manifest assert "public: false" in manifest assert "frontend:" in manifest and "mount: /app" in manifest assert "resources:" in manifest and "databases:" in manifest