ship grants, a2a_client, discovery, sandbox SDK + tests

This commit is contained in:
robert
2026-05-09 12:43:07 -03:00
parent b6f6cd1643
commit 2dcb8a09cd
15 changed files with 1853 additions and 75 deletions

View File

@@ -1,3 +1,9 @@
from .a2a_client import (
A2AClient,
CallResult,
HttpA2AClient,
InMemoryA2AClient,
)
from .agent import (
A2AAgent,
ParamSpec,
@@ -7,6 +13,13 @@ from .agent import (
SkillSpec,
skill,
)
from .discovery import (
ControlPlaneDiscovery,
DiscoveredAgent,
DiscoveryClient,
InMemoryDiscovery,
)
from .grants import Grant, GrantInvalid, mint_grant, sign_grant, verify_grant
from .auth import APIKeyAuth, JWTAuth, NoAuth
from .card import AgentCard, SkillCard
from .context import (
@@ -26,6 +39,13 @@ from .runtime import (
SkillPolicy,
State,
)
from .sandbox import (
ExecResult,
SandboxClient,
SandboxHandle,
SandboxSpec,
SandboxUnavailable,
)
from .workspace import (
FileMatch,
FileType,
@@ -42,15 +62,26 @@ from .workspace import (
__all__ = [
"A2AAgent",
"A2AClient",
"APIKeyAuth",
"AgentCard",
"AgentEvent",
"AgentRuntime",
"ArtifactRef",
"CallResult",
"CancelledByCaller",
"ControlPlaneDiscovery",
"DiscoveredAgent",
"DiscoveryClient",
"EgressPolicy",
"ExecResult",
"FileMatch",
"FileType",
"Grant",
"GrantInvalid",
"HttpA2AClient",
"InMemoryA2AClient",
"InMemoryDiscovery",
"JWTAuth",
"Lifecycle",
"LocalRunContext",
@@ -62,6 +93,13 @@ __all__ = [
"Resources",
"RunContext",
"Sandbox",
"mint_grant",
"sign_grant",
"verify_grant",
"SandboxClient",
"SandboxHandle",
"SandboxSpec",
"SandboxUnavailable",
"SkillCard",
"SkillInputError",
"SkillInvocationError",