agentkit-sdk-python 0.9.2__tar.gz → 0.9.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/PKG-INFO +2 -2
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/__init__.py +5 -5
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/apps/a2a_app/a2a_app.py +68 -10
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/client/base_service_client.py +102 -8
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/frameworks/_agentsentry.py +5 -0
- agentkit_sdk_python-0.9.3/agentkit/sdk/organizations/__init__.py +63 -0
- agentkit_sdk_python-0.9.3/agentkit/sdk/organizations/client.py +175 -0
- agentkit_sdk_python-0.9.3/agentkit/sdk/organizations/types.py +368 -0
- agentkit_sdk_python-0.9.3/agentkit/sdk/users/__init__.py +73 -0
- agentkit_sdk_python-0.9.3/agentkit/sdk/users/client.py +181 -0
- agentkit_sdk_python-0.9.3/agentkit/sdk/users/types.py +548 -0
- agentkit_sdk_python-0.9.3/agentkit/sdk/workspaces/__init__.py +91 -0
- agentkit_sdk_python-0.9.3/agentkit/sdk/workspaces/client.py +272 -0
- agentkit_sdk_python-0.9.3/agentkit/sdk/workspaces/types.py +539 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/samples/a2a.py +14 -2
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/version.py +1 -1
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit_sdk_python.egg-info/PKG-INFO +2 -2
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit_sdk_python.egg-info/SOURCES.txt +9 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit_sdk_python.egg-info/requires.txt +1 -1
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/pyproject.toml +2 -2
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/LICENSE +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/MANIFEST.in +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/README.md +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/apps/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/apps/a2a_app/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/apps/a2a_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/apps/agent_server_app/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/apps/agent_server_app/agent_server_app.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/apps/agent_server_app/credential_service.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/apps/agent_server_app/inbound_auth.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/apps/agent_server_app/inbound_auth_adapter.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/apps/agent_server_app/middleware.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/apps/agent_server_app/origin.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/apps/agent_server_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/apps/auth/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/apps/auth/inbound.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/apps/base_app.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/apps/langgraph_server_app/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/apps/langgraph_server_app/langgraph_server_app.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/apps/mcp_app/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/apps/mcp_app/mcp_app.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/apps/mcp_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/apps/simple_app/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/apps/simple_app/simple_app.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/apps/simple_app/simple_app_handlers.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/apps/simple_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/apps/utils.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/auth/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/auth/_openapi.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/auth/_redact.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/auth/_sigv4.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/auth/admin.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/auth/credential_hosting.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/auth/errors.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/auth/model_login.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/auth/oauth.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/auth/profile.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/auth/providers.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/auth/resolve.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/auth/session.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/auth/ssl_trust.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/auth/sso.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/auth/store.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/auth/sts.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/client/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/client/base_agentkit_client.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/client/base_iam_client.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/errors.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/frameworks/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/frameworks/_common.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/frameworks/agentcore.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/frameworks/langchain.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/frameworks/langgraph.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/frameworks/migration.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/frameworks/model_replacement.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/frameworks/serving/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/frameworks/serving/fastapi_mount.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/frameworks/serving/langserve.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/frameworks/strands.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/identity/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/identity/_runtime_dependency.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/identity/client.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/identity/context.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/identity/errors.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/identity/jwt.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/identity/middleware.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/identity/runtime.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/identity/transport.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/identity/types.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/platform/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/platform/configuration.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/platform/console_urls.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/platform/constants.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/platform/context.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/platform/provider.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/plugins/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/plugins/agentsentry_v3.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/plugins/llm_shield.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/account/client.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/account/types.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/gateway/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/gateway/client.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/gateway/types.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/identity/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/identity/auth.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/identity/client.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/identity/types.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/knowledge/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/knowledge/client.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/knowledge/types.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/mcp/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/mcp/client.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/mcp/types.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/memory/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/memory/client.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/memory/types.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/model_gateway/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/model_gateway/client.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/model_gateway/types.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/runtime/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/runtime/client.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/runtime/gateway.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/runtime/types.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/skills/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/skills/client.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/skills/types.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/tools/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/tools/client.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/sdk/tools/types.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/builders/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/builders/base.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/builders/local_docker.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/builders/ve_pipeline.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/builders/ve_sandbox_pipeline.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/__main__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/cli.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/cli_add.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/cli_auth.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/cli_build.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/cli_config.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/cli_delete.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/cli_deploy.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/cli_destroy.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/cli_init.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/cli_invoke.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/cli_knowledge.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/cli_launch.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/cli_list.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/cli_logs.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/cli_memory.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/cli_model_gateway.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/cli_runtime.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/cli_skill.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/cli_skills.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/cli_skills_workflow.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/cli_status.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/cli_tools.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/cli_version.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/console_reporter.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/interactive_config.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/sandbox/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/sandbox/a2a_client.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/sandbox/agentkit_client.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/sandbox/cli.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/sandbox/cli_build.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/sandbox/cli_config.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/sandbox/cli_create.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/sandbox/cli_delete.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/sandbox/cli_exec.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/sandbox/cli_init.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/sandbox/cli_invoke.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/sandbox/cli_list.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/sandbox/cli_model_login.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/sandbox/cli_mount.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/sandbox/cli_run.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/sandbox/cli_scp.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/sandbox/cli_shell.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/sandbox/cli_web.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/sandbox/config_store.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/sandbox/env_config.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/sandbox/git_config.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/sandbox/model_config.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/sandbox/sandbox_client.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/sandbox/session_create.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/sandbox/session_sync.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/sandbox/tool_resolve.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/sandbox/tos_config.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/tool_lookup.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/cli/utils.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/config/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/config/choice_resolvers.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/config/cloud_provider.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/config/config.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/config/config_handler.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/config/config_validator.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/config/constants.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/config/dataclass_utils.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/config/docker_build_config.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/config/global_config.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/config/region_defaults.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/config/region_resolver.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/config/strategy_configs.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/config/utils.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/context.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/docker/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/docker/base_images.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/docker/container.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/docker/dockerfile/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/docker/dockerfile/manager.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/docker/dockerfile/metadata.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/docker/utils.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/errors.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/executors/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/executors/base_executor.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/executors/build_executor.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/executors/deploy_executor.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/executors/init_executor.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/executors/invoke_executor.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/executors/lifecycle_executor.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/executors/status_executor.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/harness/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/harness/config_builder.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/harness/deploy.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/harness/env_mapping.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/models.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/reporter.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/samples/agent_server.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/samples/basic.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/samples/basic_stream.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/samples/customer_support_assistant.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/samples/eino_a2a/agent.go +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/samples/eino_a2a/build.sh +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/samples/eino_a2a/go.mod +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/samples/eino_a2a/go.sum +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/samples/eino_a2a/main.go +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/samples/financial_analyst.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/samples/langchain_basic_stream.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/samples/simple_app_veadk.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/samples/simple_mcp_veadk.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/samples/veadk_go_a2a/agent.go +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/samples/veadk_go_a2a/build.sh +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/samples/veadk_go_a2a/go.mod +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/samples/veadk_go_a2a/go.sum +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/samples/veadk_go_a2a/main.go +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/samples/veadk_go_basic/agent.go +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/samples/veadk_go_basic/build.sh +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/samples/veadk_go_basic/go.mod +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/samples/veadk_go_basic/go.sum +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/samples/veadk_go_basic/main.go +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/templates/code-pipeline-sandbox-tos-cr-step.j2 +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/templates/code-pipeline-tos-cr-step.j2 +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/templates/golang/Dockerfile.j2 +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/templates/python/Dockerfile.j2 +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/templates/sandbox/Dockerfile.install-package +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/templates/sandbox/Dockerfile.install-skills +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/templates/sandbox/Dockerfile.web-server +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/wrappers/wrapper_basic.py.jinja2 +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/resources/wrappers/wrapper_stream.py.jinja2 +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/runners/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/runners/base.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/runners/local_docker.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/runners/ve_agentkit.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/runtime_recreate_policy.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/sdk/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/sdk/bindings/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/sdk/bindings/memory.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/sdk/builder.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/sdk/client.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/sdk/config.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/sdk/deployer.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/sdk/initializer.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/sdk/invoker.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/sdk/lifecycle.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/sdk/status.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/strategies/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/strategies/base_strategy.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/strategies/cloud_strategy.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/strategies/hybrid_strategy.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/strategies/local_strategy.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/utils/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/utils/agent_parser.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/volcengine/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/volcengine/apmplus_logs.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/volcengine/code_pipeline.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/volcengine/cr.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/volcengine/iam.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/volcengine/services/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/volcengine/services/cr_service.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/volcengine/services/tos_service.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/volcengine/sts.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/volcengine/utils/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/toolkit/volcengine/utils/project_archiver.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/utils/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/utils/global_config_io.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/utils/http_defaults.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/utils/logging_config.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/utils/misc.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/utils/redact.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/utils/request.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/utils/template_utils.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/utils/ve_sign.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit_identity/__init__.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit_identity/context.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit_identity/errors.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit_identity/jwt.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit_identity/middleware.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit_identity/py.typed +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit_identity/runtime.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit_identity/transport.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit_identity/types.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit_sdk_python.egg-info/dependency_links.txt +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit_sdk_python.egg-info/entry_points.txt +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit_sdk_python.egg-info/top_level.txt +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/setup.cfg +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/tests/test_client_uses_platform_context.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/tests/test_dependency_constraints.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/tests/test_error_hierarchy.py +0 -0
- {agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/tests/test_version.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentkit-sdk-python
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.3
|
|
4
4
|
Summary: Python SDK for transforming any AI agent into a production-ready application. Framework-agnostic primitives for runtime, memory, authentication, and tools with volcengine-managed infrastructure.
|
|
5
5
|
Author-email: Xiangrui Cheng <innsdcc@gmail.com>, Yumeng Bao <baoyumeng.123@gmail.com>, Yaozheng Fang <fangyozheng@gmail.com>, Guodong Li <cu.eric.lee@gmail.com>
|
|
6
6
|
License: Apache License
|
|
@@ -217,7 +217,7 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
|
217
217
|
Requires-Python: >=3.10
|
|
218
218
|
Description-Content-Type: text/markdown
|
|
219
219
|
License-File: LICENSE
|
|
220
|
-
Requires-Dist: a2a-sdk<
|
|
220
|
+
Requires-Dist: a2a-sdk<2,>=0.3.15
|
|
221
221
|
Requires-Dist: fastapi>=0.117.1
|
|
222
222
|
Requires-Dist: fastmcp>=2.12.3
|
|
223
223
|
Requires-Dist: opentelemetry-api>=1.32.1
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
|
|
15
15
|
# Note: BaseAgentkitClient and ApiConfig are internal infrastructure classes.
|
|
16
16
|
# Users should use the high-level service clients instead:
|
|
17
|
-
# - from agentkit.memory import
|
|
18
|
-
# - from agentkit.knowledge import
|
|
19
|
-
# - from agentkit.mcp import
|
|
20
|
-
# - from agentkit.runtime import
|
|
21
|
-
# - from agentkit.tools import
|
|
17
|
+
# - from agentkit.sdk.memory import AgentkitMemoryClient
|
|
18
|
+
# - from agentkit.sdk.knowledge import AgentkitKnowledgeClient
|
|
19
|
+
# - from agentkit.sdk.mcp import AgentkitMCPClient
|
|
20
|
+
# - from agentkit.sdk.runtime import AgentkitRuntimeClient
|
|
21
|
+
# - from agentkit.sdk.tools import AgentkitToolsClient
|
|
22
22
|
|
|
23
23
|
__all__ = []
|
|
@@ -21,7 +21,6 @@ from typing import Callable
|
|
|
21
21
|
from typing_extensions import override
|
|
22
22
|
from a2a.server.agent_execution import AgentExecutor
|
|
23
23
|
from a2a.server.agent_execution.context import RequestContext
|
|
24
|
-
from a2a.server.apps import A2AStarletteApplication
|
|
25
24
|
from a2a.server.events.event_queue import EventQueue
|
|
26
25
|
from a2a.server.request_handlers import DefaultRequestHandler
|
|
27
26
|
from a2a.server.tasks import InMemoryTaskStore
|
|
@@ -37,6 +36,16 @@ from agentkit.apps.base_app import BaseAgentkitApp
|
|
|
37
36
|
|
|
38
37
|
logger = logging.getLogger(__name__)
|
|
39
38
|
|
|
39
|
+
try:
|
|
40
|
+
# a2a-sdk 1.x
|
|
41
|
+
from a2a.server.routes import create_agent_card_routes, create_jsonrpc_routes
|
|
42
|
+
|
|
43
|
+
_A2A_1X = True
|
|
44
|
+
except ImportError: # a2a-sdk 0.3.x
|
|
45
|
+
from a2a.server.apps import A2AStarletteApplication
|
|
46
|
+
|
|
47
|
+
_A2A_1X = False
|
|
48
|
+
|
|
40
49
|
|
|
41
50
|
def _wrap_agent_executor_execute_func(execute_func: Callable) -> Callable:
|
|
42
51
|
async def wrapper(*args, **kwargs):
|
|
@@ -183,24 +192,73 @@ class AgentkitA2aApp(BaseAgentkitApp):
|
|
|
183
192
|
def add_ping_route(self, app: Starlette):
|
|
184
193
|
app.add_route("/ping", self.ping_endpoint, methods=["GET"])
|
|
185
194
|
|
|
186
|
-
|
|
187
|
-
|
|
195
|
+
def _build_a2a_app(self, agent_card: AgentCard) -> Starlette:
|
|
196
|
+
"""Build the A2A Starlette application without binding a socket.
|
|
197
|
+
|
|
198
|
+
a2a-sdk 1.x removed ``A2AStarletteApplication``; use the route factory
|
|
199
|
+
there. a2a-sdk 0.3.x still provides ``A2AStarletteApplication`` and has
|
|
200
|
+
no ``a2a.server.routes`` module, so fall back to it. Both branches
|
|
201
|
+
serve the historical ``/.well-known/agent.json`` path alongside the
|
|
202
|
+
standard card path so existing discovery code keeps working.
|
|
203
|
+
"""
|
|
188
204
|
if not self._agent_executor:
|
|
189
205
|
raise RuntimeError(
|
|
190
206
|
"At least one executor should be provided via `@agent_executor(...)`."
|
|
191
207
|
)
|
|
192
|
-
|
|
208
|
+
task_store = self._task_store
|
|
209
|
+
if task_store is None:
|
|
193
210
|
logger.warning(
|
|
194
211
|
"No task store provided. You can provide a task store via `@task_store(...)`. Using in-memory task store instead."
|
|
195
212
|
)
|
|
196
|
-
|
|
213
|
+
task_store = InMemoryTaskStore()
|
|
214
|
+
|
|
215
|
+
if not _A2A_1X:
|
|
216
|
+
# a2a-sdk 0.3.x's DefaultRequestHandler does not accept agent_card;
|
|
217
|
+
# the application owns the card route instead.
|
|
218
|
+
handler = DefaultRequestHandler(
|
|
219
|
+
agent_executor=self._agent_executor,
|
|
220
|
+
task_store=task_store,
|
|
221
|
+
)
|
|
222
|
+
app = A2AStarletteApplication(
|
|
223
|
+
agent_card=agent_card,
|
|
224
|
+
http_handler=handler,
|
|
225
|
+
).build()
|
|
226
|
+
# A2AStarletteApplication only serves the standard card path. Add
|
|
227
|
+
# the historical path for parity with the a2a 1.x branch.
|
|
228
|
+
app.routes.append(
|
|
229
|
+
Route(
|
|
230
|
+
"/.well-known/agent.json",
|
|
231
|
+
endpoint=lambda request: JSONResponse(
|
|
232
|
+
agent_card.model_dump(mode="json")
|
|
233
|
+
),
|
|
234
|
+
methods=["GET"],
|
|
235
|
+
name="legacy_agent_card",
|
|
236
|
+
)
|
|
237
|
+
)
|
|
238
|
+
return app
|
|
197
239
|
|
|
198
|
-
|
|
240
|
+
handler = DefaultRequestHandler(
|
|
241
|
+
agent_executor=self._agent_executor,
|
|
242
|
+
task_store=task_store,
|
|
199
243
|
agent_card=agent_card,
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
244
|
+
)
|
|
245
|
+
return Starlette(
|
|
246
|
+
routes=[
|
|
247
|
+
*create_agent_card_routes(agent_card),
|
|
248
|
+
*create_agent_card_routes(
|
|
249
|
+
agent_card, card_url="/.well-known/agent.json"
|
|
250
|
+
),
|
|
251
|
+
*create_jsonrpc_routes(
|
|
252
|
+
handler,
|
|
253
|
+
rpc_url="/",
|
|
254
|
+
enable_v0_3_compat=True,
|
|
255
|
+
),
|
|
256
|
+
]
|
|
257
|
+
)
|
|
258
|
+
|
|
259
|
+
@override
|
|
260
|
+
def run(self, agent_card: AgentCard, host: str, port: int = 8000):
|
|
261
|
+
a2a_app = self._build_a2a_app(agent_card)
|
|
204
262
|
|
|
205
263
|
# Register routes in the same style
|
|
206
264
|
self.add_ping_route(a2a_app)
|
{agentkit_sdk_python-0.9.2 → agentkit_sdk_python-0.9.3}/agentkit/client/base_service_client.py
RENAMED
|
@@ -25,6 +25,7 @@ import requests
|
|
|
25
25
|
from requests.adapters import HTTPAdapter
|
|
26
26
|
from urllib3.util.retry import Retry
|
|
27
27
|
from volcengine.ApiInfo import ApiInfo
|
|
28
|
+
from volcengine.auth.SignerV4 import SignerV4
|
|
28
29
|
from volcengine.base.Service import Service
|
|
29
30
|
from volcengine.Credentials import Credentials as VolcCredentials
|
|
30
31
|
from volcengine.ServiceInfo import ServiceInfo
|
|
@@ -316,7 +317,11 @@ class BaseServiceClient(Service):
|
|
|
316
317
|
params: Dict[str, Any] = None,
|
|
317
318
|
) -> T:
|
|
318
319
|
"""
|
|
319
|
-
Unified API invocation with error handling.
|
|
320
|
+
Unified POST API invocation with error handling.
|
|
321
|
+
|
|
322
|
+
Sends the request as a JSON body (``Action``/``Version`` travel in
|
|
323
|
+
the query string); endpoints declared as HTTP GET in the OpenAPI
|
|
324
|
+
definition must use :meth:`_invoke_get_api` instead.
|
|
320
325
|
|
|
321
326
|
Args:
|
|
322
327
|
api_action: The API action name (e.g., 'GetUser', 'ListRuntimes')
|
|
@@ -331,6 +336,56 @@ class BaseServiceClient(Service):
|
|
|
331
336
|
ApiError: If the API call fails or returns an error response.
|
|
332
337
|
NetworkError: If a transport-level failure occurs.
|
|
333
338
|
"""
|
|
339
|
+
body = json.dumps(request.model_dump(by_alias=True, exclude_none=True))
|
|
340
|
+
return self._invoke_action(
|
|
341
|
+
api_action, response_type, params=params, body=body
|
|
342
|
+
)
|
|
343
|
+
|
|
344
|
+
def _invoke_get_api(
|
|
345
|
+
self,
|
|
346
|
+
api_action: str,
|
|
347
|
+
params: Dict[str, Any],
|
|
348
|
+
response_type: Type[T],
|
|
349
|
+
) -> T:
|
|
350
|
+
"""
|
|
351
|
+
Unified GET API invocation with error handling.
|
|
352
|
+
|
|
353
|
+
For endpoints declared as HTTP GET in the OpenAPI definition
|
|
354
|
+
(``google.api.http get``): business params travel in the query
|
|
355
|
+
string with their PascalCase keys, next to ``Action``/``Version``,
|
|
356
|
+
and no JSON body is sent.
|
|
357
|
+
|
|
358
|
+
Args:
|
|
359
|
+
api_action: The API action name (e.g., 'ListUsers')
|
|
360
|
+
params: Business query parameters (PascalCase keys; int/bool
|
|
361
|
+
values are stringified by ``Service.prepare_request``)
|
|
362
|
+
response_type: The response type to parse into
|
|
363
|
+
|
|
364
|
+
Returns:
|
|
365
|
+
Typed response object
|
|
366
|
+
|
|
367
|
+
Raises:
|
|
368
|
+
ApiError: If the API call fails or returns an error response.
|
|
369
|
+
NetworkError: If a transport-level failure occurs.
|
|
370
|
+
"""
|
|
371
|
+
return self._invoke_action(
|
|
372
|
+
api_action, response_type, params=params, body=None
|
|
373
|
+
)
|
|
374
|
+
|
|
375
|
+
def _invoke_action(
|
|
376
|
+
self,
|
|
377
|
+
api_action: str,
|
|
378
|
+
response_type: Type[T],
|
|
379
|
+
*,
|
|
380
|
+
params: Dict[str, Any] = None,
|
|
381
|
+
body: Optional[str],
|
|
382
|
+
) -> T:
|
|
383
|
+
"""
|
|
384
|
+
Shared invocation skeleton for :meth:`_invoke_api` (POST, JSON
|
|
385
|
+
body) and :meth:`_invoke_get_api` (GET, query-string params):
|
|
386
|
+
credential auto-refresh, the two-attempt credential-error retry,
|
|
387
|
+
typed error wrapping and response parsing.
|
|
388
|
+
"""
|
|
334
389
|
# Imported lazily: ``agentkit.toolkit`` pulls in ``sdk`` which imports
|
|
335
390
|
# back into ``agentkit.client``, so a module-level import would cycle.
|
|
336
391
|
from agentkit.toolkit.errors import ApiError
|
|
@@ -344,13 +399,14 @@ class BaseServiceClient(Service):
|
|
|
344
399
|
self._refresh_credentials_if_needed(force=True)
|
|
345
400
|
|
|
346
401
|
try:
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
402
|
+
if body is None:
|
|
403
|
+
res = self._send_get(api_action, params or {})
|
|
404
|
+
else:
|
|
405
|
+
res = self.json(
|
|
406
|
+
api=api_action,
|
|
407
|
+
params=params or {},
|
|
408
|
+
body=body,
|
|
409
|
+
)
|
|
354
410
|
except (
|
|
355
411
|
requests.exceptions.ConnectionError,
|
|
356
412
|
requests.exceptions.Timeout,
|
|
@@ -406,3 +462,41 @@ class BaseServiceClient(Service):
|
|
|
406
462
|
f"Failed to {api_action}: {str(last_error)}"
|
|
407
463
|
) from last_error
|
|
408
464
|
raise ApiError(f"Failed to {api_action}: Unknown error")
|
|
465
|
+
|
|
466
|
+
def _send_get(self, api_action: str, params: Dict[str, Any]) -> str:
|
|
467
|
+
"""Send one GET-style OpenAPI request and return the raw response
|
|
468
|
+
text.
|
|
469
|
+
|
|
470
|
+
Mirrors ``Service.json`` (which signs POSTs directly) for GETs:
|
|
471
|
+
``prepare_request`` merges business ``params`` into the query
|
|
472
|
+
string next to ``Action``/``Version``, the request is signed with
|
|
473
|
+
an empty-string body (``sha256("")`` — what the server expects for
|
|
474
|
+
bodyless GETs, matching the agentkit-cli signer), and no body is
|
|
475
|
+
sent on the wire.
|
|
476
|
+
|
|
477
|
+
``Service.request`` cannot be used here: its ``VolcAuth`` hook
|
|
478
|
+
copies the PreparedRequest body into the signed request, and
|
|
479
|
+
requests drops an empty-string body to ``None``
|
|
480
|
+
(``PreparedRequest.prepare_body``: ``if not data: body = None``),
|
|
481
|
+
so ``Util.sha256(None)`` crashes with "object supporting the
|
|
482
|
+
buffer API required".
|
|
483
|
+
"""
|
|
484
|
+
api_info = self.api_info[api_action]
|
|
485
|
+
# Pass a copy: prepare_request mutates the dict while
|
|
486
|
+
# stringifying values.
|
|
487
|
+
r = self.prepare_request(api_info, dict(params or {}))
|
|
488
|
+
r.body = ""
|
|
489
|
+
SignerV4.sign(r, self.service_info.credentials)
|
|
490
|
+
url = r.build()
|
|
491
|
+
resp = self.session.request(
|
|
492
|
+
api_info.method,
|
|
493
|
+
url,
|
|
494
|
+
headers=r.headers,
|
|
495
|
+
timeout=(
|
|
496
|
+
self.service_info.connection_timeout,
|
|
497
|
+
self.service_info.socket_timeout,
|
|
498
|
+
),
|
|
499
|
+
)
|
|
500
|
+
if resp.status_code == 200:
|
|
501
|
+
return resp.text
|
|
502
|
+
raise Exception(resp.text)
|
|
@@ -141,6 +141,7 @@ def protect_migrated_tools(method):
|
|
|
141
141
|
return
|
|
142
142
|
guard = _make_guard(plugin, ctx)
|
|
143
143
|
events = method(self, ctx)
|
|
144
|
+
streamed_text = False
|
|
144
145
|
try:
|
|
145
146
|
while True:
|
|
146
147
|
token = _active_guard.set(guard)
|
|
@@ -156,8 +157,12 @@ def protect_migrated_tools(method):
|
|
|
156
157
|
_active_guard.reset(token)
|
|
157
158
|
if guard.blocked:
|
|
158
159
|
break
|
|
160
|
+
streamed_text = streamed_text or getattr(event, "partial", False) is True
|
|
159
161
|
yield event
|
|
160
162
|
if guard.blocked:
|
|
163
|
+
if streamed_text:
|
|
164
|
+
# Live clients may drop complete text after an earlier delta.
|
|
165
|
+
yield adk_event(ctx, self.name, f"\n\n{guard.blocked}", partial=True)
|
|
161
166
|
yield adk_event(ctx, self.name, guard.blocked, partial=False)
|
|
162
167
|
finally:
|
|
163
168
|
token = _active_guard.set(guard)
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Copyright (c) 2025 Beijing Volcano Engine Technology Co., Ltd. and/or its affiliates.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
from .client import AgentkitOrganizationClient
|
|
16
|
+
from .types import (
|
|
17
|
+
MAX_LIST_ORGANIZATION_MEMBERS_RESULTS,
|
|
18
|
+
ORGANIZATION_ADMIN_ROLE,
|
|
19
|
+
AddOrganizationMemberRequest,
|
|
20
|
+
AddOrganizationMemberResponse,
|
|
21
|
+
CreateOrganizationRequest,
|
|
22
|
+
CreateOrganizationResponse,
|
|
23
|
+
DeleteOrganizationRequest,
|
|
24
|
+
DeleteOrganizationResponse,
|
|
25
|
+
GetOrganizationRequest,
|
|
26
|
+
GetOrganizationResponse,
|
|
27
|
+
ListOrganizationMembersRequest,
|
|
28
|
+
ListOrganizationMembersResponse,
|
|
29
|
+
OrganizationData,
|
|
30
|
+
OrganizationEndpointData,
|
|
31
|
+
OrganizationMemberData,
|
|
32
|
+
OrganizationsBaseModel,
|
|
33
|
+
RemoveOrganizationMemberRequest,
|
|
34
|
+
RemoveOrganizationMemberResponse,
|
|
35
|
+
UpdateOrganizationEndpointData,
|
|
36
|
+
UpdateOrganizationRequest,
|
|
37
|
+
UpdateOrganizationResponse,
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
__all__ = [
|
|
41
|
+
"AgentkitOrganizationClient",
|
|
42
|
+
"MAX_LIST_ORGANIZATION_MEMBERS_RESULTS",
|
|
43
|
+
"ORGANIZATION_ADMIN_ROLE",
|
|
44
|
+
"AddOrganizationMemberRequest",
|
|
45
|
+
"AddOrganizationMemberResponse",
|
|
46
|
+
"CreateOrganizationRequest",
|
|
47
|
+
"CreateOrganizationResponse",
|
|
48
|
+
"DeleteOrganizationRequest",
|
|
49
|
+
"DeleteOrganizationResponse",
|
|
50
|
+
"GetOrganizationRequest",
|
|
51
|
+
"GetOrganizationResponse",
|
|
52
|
+
"ListOrganizationMembersRequest",
|
|
53
|
+
"ListOrganizationMembersResponse",
|
|
54
|
+
"OrganizationData",
|
|
55
|
+
"OrganizationEndpointData",
|
|
56
|
+
"OrganizationMemberData",
|
|
57
|
+
"OrganizationsBaseModel",
|
|
58
|
+
"RemoveOrganizationMemberRequest",
|
|
59
|
+
"RemoveOrganizationMemberResponse",
|
|
60
|
+
"UpdateOrganizationEndpointData",
|
|
61
|
+
"UpdateOrganizationRequest",
|
|
62
|
+
"UpdateOrganizationResponse",
|
|
63
|
+
]
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
# Copyright (c) 2025 Beijing Volcano Engine Technology Co., Ltd. and/or its affiliates.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
"""AgentKit Organizations Management Service client.
|
|
16
|
+
|
|
17
|
+
Mirrors the AgentKit OpenAPI organization-lifecycle and organization-member
|
|
18
|
+
actions on the ``agentkit`` signing service (amon organization service).
|
|
19
|
+
All actions resolve the organization from the signed account.
|
|
20
|
+
GET-declared actions (``GetOrganization``, ``ListOrganizationMembers``)
|
|
21
|
+
carry business params in the query string; every other action is a
|
|
22
|
+
JSON-body POST.
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
from __future__ import annotations
|
|
26
|
+
|
|
27
|
+
from typing import Dict, Union
|
|
28
|
+
|
|
29
|
+
from agentkit.client import BaseAgentkitClient
|
|
30
|
+
from agentkit.client.base_service_client import ApiConfig
|
|
31
|
+
|
|
32
|
+
from .types import (
|
|
33
|
+
AddOrganizationMemberRequest,
|
|
34
|
+
AddOrganizationMemberResponse,
|
|
35
|
+
CreateOrganizationRequest,
|
|
36
|
+
CreateOrganizationResponse,
|
|
37
|
+
DeleteOrganizationRequest,
|
|
38
|
+
DeleteOrganizationResponse,
|
|
39
|
+
GetOrganizationRequest,
|
|
40
|
+
GetOrganizationResponse,
|
|
41
|
+
ListOrganizationMembersRequest,
|
|
42
|
+
ListOrganizationMembersResponse,
|
|
43
|
+
RemoveOrganizationMemberRequest,
|
|
44
|
+
RemoveOrganizationMemberResponse,
|
|
45
|
+
UpdateOrganizationRequest,
|
|
46
|
+
UpdateOrganizationResponse,
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
class AgentkitOrganizationClient(BaseAgentkitClient):
|
|
51
|
+
"""AgentKit Organizations Management Service."""
|
|
52
|
+
|
|
53
|
+
API_ACTIONS: Dict[str, Union[str, ApiConfig]] = {
|
|
54
|
+
# GET-declared actions: business params are signed in the query
|
|
55
|
+
# string and no JSON body is sent.
|
|
56
|
+
"GetOrganization": ApiConfig(action="GetOrganization", method="GET"),
|
|
57
|
+
"ListOrganizationMembers": ApiConfig(
|
|
58
|
+
action="ListOrganizationMembers", method="GET"
|
|
59
|
+
),
|
|
60
|
+
# POST-declared actions: business params travel in the JSON body.
|
|
61
|
+
"CreateOrganization": "CreateOrganization",
|
|
62
|
+
"UpdateOrganization": "UpdateOrganization",
|
|
63
|
+
"DeleteOrganization": "DeleteOrganization",
|
|
64
|
+
"AddOrganizationMember": "AddOrganizationMember",
|
|
65
|
+
"RemoveOrganizationMember": "RemoveOrganizationMember",
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
def __init__(
|
|
69
|
+
self,
|
|
70
|
+
access_key: str = "",
|
|
71
|
+
secret_key: str = "",
|
|
72
|
+
region: str = "",
|
|
73
|
+
session_token: str = "",
|
|
74
|
+
) -> None:
|
|
75
|
+
super().__init__(
|
|
76
|
+
access_key=access_key,
|
|
77
|
+
secret_key=secret_key,
|
|
78
|
+
region=region,
|
|
79
|
+
session_token=session_token,
|
|
80
|
+
service_name="organizations",
|
|
81
|
+
)
|
|
82
|
+
|
|
83
|
+
@staticmethod
|
|
84
|
+
def _query_params(request) -> Dict[str, object]:
|
|
85
|
+
"""Dump a GET request into query params (PascalCase keys, None
|
|
86
|
+
dropped). Booleans become lowercase ``"true"``; ``False`` flags are
|
|
87
|
+
omitted (matching the CLI's compact semantics)."""
|
|
88
|
+
params = request.model_dump(by_alias=True, exclude_none=True)
|
|
89
|
+
return {
|
|
90
|
+
key: ("true" if value else value) if isinstance(value, bool) else value
|
|
91
|
+
for key, value in params.items()
|
|
92
|
+
if not (isinstance(value, bool) and not value)
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
def create_organization(
|
|
96
|
+
self, request: CreateOrganizationRequest
|
|
97
|
+
) -> CreateOrganizationResponse:
|
|
98
|
+
"""Provision (or idempotently reuse) the account's organization.
|
|
99
|
+
``created=False`` means an active organization already existed and
|
|
100
|
+
was reused."""
|
|
101
|
+
return self._invoke_api(
|
|
102
|
+
api_action="CreateOrganization",
|
|
103
|
+
request=request,
|
|
104
|
+
response_type=CreateOrganizationResponse,
|
|
105
|
+
)
|
|
106
|
+
|
|
107
|
+
def get_organization(
|
|
108
|
+
self, request: GetOrganizationRequest
|
|
109
|
+
) -> GetOrganizationResponse:
|
|
110
|
+
"""Fetch one organization. Without ``org_id`` the server resolves
|
|
111
|
+
the current account's organization; an empty result is a legal
|
|
112
|
+
"account not provisioned yet" answer surfaced as
|
|
113
|
+
``organization=None``."""
|
|
114
|
+
return self._invoke_get_api(
|
|
115
|
+
api_action="GetOrganization",
|
|
116
|
+
params=self._query_params(request),
|
|
117
|
+
response_type=GetOrganizationResponse,
|
|
118
|
+
)
|
|
119
|
+
|
|
120
|
+
def update_organization(
|
|
121
|
+
self, request: UpdateOrganizationRequest
|
|
122
|
+
) -> UpdateOrganizationResponse:
|
|
123
|
+
"""Update one organization. The Endpoint binding is only sent when
|
|
124
|
+
both id and base_url are present (enforced by the request model);
|
|
125
|
+
the server rejects overwriting an existing binding."""
|
|
126
|
+
return self._invoke_api(
|
|
127
|
+
api_action="UpdateOrganization",
|
|
128
|
+
request=request,
|
|
129
|
+
response_type=UpdateOrganizationResponse,
|
|
130
|
+
)
|
|
131
|
+
|
|
132
|
+
def delete_organization(
|
|
133
|
+
self, request: DeleteOrganizationRequest
|
|
134
|
+
) -> DeleteOrganizationResponse:
|
|
135
|
+
"""Delete one organization. The deletion is synchronous and
|
|
136
|
+
cascades to all workspaces and member bindings; the response
|
|
137
|
+
reports the final status."""
|
|
138
|
+
return self._invoke_api(
|
|
139
|
+
api_action="DeleteOrganization",
|
|
140
|
+
request=request,
|
|
141
|
+
response_type=DeleteOrganizationResponse,
|
|
142
|
+
)
|
|
143
|
+
|
|
144
|
+
def add_organization_member(
|
|
145
|
+
self, request: AddOrganizationMemberRequest
|
|
146
|
+
) -> AddOrganizationMemberResponse:
|
|
147
|
+
"""Grant a role on the account's organization (only
|
|
148
|
+
``organization_admin`` is supported today). Idempotent."""
|
|
149
|
+
return self._invoke_api(
|
|
150
|
+
api_action="AddOrganizationMember",
|
|
151
|
+
request=request,
|
|
152
|
+
response_type=AddOrganizationMemberResponse,
|
|
153
|
+
)
|
|
154
|
+
|
|
155
|
+
def remove_organization_member(
|
|
156
|
+
self, request: RemoveOrganizationMemberRequest
|
|
157
|
+
) -> RemoveOrganizationMemberResponse:
|
|
158
|
+
"""Revoke a role on the account's organization. Idempotent:
|
|
159
|
+
revoking a missing binding still succeeds with ``revoked=True``."""
|
|
160
|
+
return self._invoke_api(
|
|
161
|
+
api_action="RemoveOrganizationMember",
|
|
162
|
+
request=request,
|
|
163
|
+
response_type=RemoveOrganizationMemberResponse,
|
|
164
|
+
)
|
|
165
|
+
|
|
166
|
+
def list_organization_members(
|
|
167
|
+
self, request: ListOrganizationMembersRequest
|
|
168
|
+
) -> ListOrganizationMembersResponse:
|
|
169
|
+
"""List members of the account's organization. Filters are exact
|
|
170
|
+
matches; ``max_results=0`` lets the server default (10, max 100)."""
|
|
171
|
+
return self._invoke_get_api(
|
|
172
|
+
api_action="ListOrganizationMembers",
|
|
173
|
+
params=self._query_params(request),
|
|
174
|
+
response_type=ListOrganizationMembersResponse,
|
|
175
|
+
)
|