Align builder with a2a-pack 0.1.82
All checks were successful
build / build (push) Successful in 53s
All checks were successful
build / build (push) Successful in 53s
This commit is contained in:
2
a2a.yaml
2
a2a.yaml
@@ -1,5 +1,5 @@
|
|||||||
name: agent-builder
|
name: agent-builder
|
||||||
version: 0.1.9
|
version: 0.1.10
|
||||||
entrypoint: agent:AgentBuilder
|
entrypoint: agent:AgentBuilder
|
||||||
description: Generate, test, and deploy new a2a agents from natural language.
|
description: Generate, test, and deploy new a2a agents from natural language.
|
||||||
expose:
|
expose:
|
||||||
|
|||||||
4
agent.py
4
agent.py
@@ -50,7 +50,7 @@ class AgentBuilder(A2AAgent[BuilderConfig, NoAuth]):
|
|||||||
"Writes the project into the user's workspace, validates it in a "
|
"Writes the project into the user's workspace, validates it in a "
|
||||||
"sandbox, then ships it via the control plane."
|
"sandbox, then ships it via the control plane."
|
||||||
)
|
)
|
||||||
version = "0.1.9"
|
version = "0.1.10"
|
||||||
|
|
||||||
config_model = BuilderConfig
|
config_model = BuilderConfig
|
||||||
auth_model = NoAuth
|
auth_model = NoAuth
|
||||||
@@ -355,4 +355,4 @@ def _build_failure_error(exc: BaseException) -> str:
|
|||||||
"or a smaller build scope"
|
"or a smaller build scope"
|
||||||
)
|
)
|
||||||
return f"build graph failed: {type(exc).__name__}: {exc}"
|
return f"build graph failed: {type(exc).__name__}: {exc}"
|
||||||
# rebuild against a2a-pack 0.1.76 for source-grant-aware agent updates
|
# rebuild against a2a-pack 0.1.82 for LiteLLM metadata and long builder grants
|
||||||
|
|||||||
@@ -34,8 +34,8 @@ if TYPE_CHECKING:
|
|||||||
from .config import Settings
|
from .config import Settings
|
||||||
|
|
||||||
|
|
||||||
A2A_PACK_MIN_VERSION = "0.1.81"
|
A2A_PACK_MIN_VERSION = "0.1.82"
|
||||||
A2A_PACK_SANDBOX_FALLBACK_VERSION = "0.1.79"
|
A2A_PACK_SANDBOX_FALLBACK_VERSION = "0.1.82"
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
a2a-pack>=0.1.81
|
a2a-pack>=0.1.82
|
||||||
httpx>=0.27
|
httpx>=0.27
|
||||||
boto3>=1.34
|
boto3>=1.34
|
||||||
deepagents>=0.5.0
|
deepagents>=0.5.0
|
||||||
|
|||||||
@@ -344,8 +344,8 @@ class TemplateInitTests(unittest.TestCase):
|
|||||||
"export PYTHONDONTWRITEBYTECODE=1",
|
"export PYTHONDONTWRITEBYTECODE=1",
|
||||||
str(sandbox.calls[0]["script"]),
|
str(sandbox.calls[0]["script"]),
|
||||||
)
|
)
|
||||||
self.assertIn("a2a-pack>=0.1.81 unavailable", str(sandbox.calls[0]["script"]))
|
self.assertIn("a2a-pack>=0.1.82 unavailable", str(sandbox.calls[0]["script"]))
|
||||||
self.assertIn("a2a-pack==0.1.79", str(sandbox.calls[0]["script"]))
|
self.assertIn("a2a-pack==0.1.82", str(sandbox.calls[0]["script"]))
|
||||||
self.assertEqual(_FakeAsyncClient.posts, [])
|
self.assertEqual(_FakeAsyncClient.posts, [])
|
||||||
|
|
||||||
def test_cp_deploy_tarball_posts_agent_dsl(self) -> None:
|
def test_cp_deploy_tarball_posts_agent_dsl(self) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user