initial a2a-pack

This commit is contained in:
robert
2026-05-08 21:59:51 -03:00
commit b6f6cd1643
29 changed files with 3218 additions and 0 deletions

80
a2a_pack/__init__.py Normal file
View File

@@ -0,0 +1,80 @@
from .agent import (
A2AAgent,
ParamSpec,
SkillInputError,
SkillInvocationError,
SkillNotFound,
SkillSpec,
skill,
)
from .auth import APIKeyAuth, JWTAuth, NoAuth
from .card import AgentCard, SkillCard
from .context import (
AgentEvent,
ArtifactRef,
CancelledByCaller,
LocalRunContext,
MissingScopes,
RunContext,
)
from .runtime import (
AgentRuntime,
EgressPolicy,
Lifecycle,
Resources,
Sandbox,
SkillPolicy,
State,
)
from .workspace import (
FileMatch,
FileType,
LocalWorkspaceClient,
LocalWorkspaceView,
WorkspaceAccess,
WorkspaceClient,
WorkspaceDenied,
WorkspaceGrant,
WorkspaceMode,
WorkspacePatch,
WorkspaceView,
)
__all__ = [
"A2AAgent",
"APIKeyAuth",
"AgentCard",
"AgentEvent",
"AgentRuntime",
"ArtifactRef",
"CancelledByCaller",
"EgressPolicy",
"FileMatch",
"FileType",
"JWTAuth",
"Lifecycle",
"LocalRunContext",
"LocalWorkspaceClient",
"LocalWorkspaceView",
"MissingScopes",
"NoAuth",
"ParamSpec",
"Resources",
"RunContext",
"Sandbox",
"SkillCard",
"SkillInputError",
"SkillInvocationError",
"SkillNotFound",
"SkillPolicy",
"SkillSpec",
"State",
"WorkspaceAccess",
"WorkspaceClient",
"WorkspaceDenied",
"WorkspaceGrant",
"WorkspaceMode",
"WorkspacePatch",
"WorkspaceView",
"skill",
]