agentkit-sdk-python 0.5.8__tar.gz → 0.5.10__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.5.8 → agentkit_sdk_python-0.5.10}/PKG-INFO +1 -1
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/apps/agent_server_app/agent_server_app.py +37 -2
- agentkit_sdk_python-0.5.10/agentkit/apps/agent_server_app/origin.py +190 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/platform/constants.py +0 -1
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/builders/ve_pipeline.py +35 -3
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/volcengine/services/tos_service.py +24 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/version.py +1 -1
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit_sdk_python.egg-info/PKG-INFO +1 -1
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit_sdk_python.egg-info/SOURCES.txt +1 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/pyproject.toml +1 -1
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/LICENSE +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/MANIFEST.in +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/README.md +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/apps/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/apps/a2a_app/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/apps/a2a_app/a2a_app.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/apps/a2a_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/apps/agent_server_app/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/apps/agent_server_app/middleware.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/apps/agent_server_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/apps/base_app.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/apps/mcp_app/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/apps/mcp_app/mcp_app.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/apps/mcp_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/apps/simple_app/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/apps/simple_app/simple_app.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/apps/simple_app/simple_app_handlers.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/apps/simple_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/apps/utils.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/client/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/client/base_agentkit_client.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/client/base_iam_client.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/client/base_service_client.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/platform/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/platform/configuration.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/platform/console_urls.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/platform/context.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/platform/provider.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/sdk/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/sdk/account/client.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/sdk/account/types.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/sdk/identity/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/sdk/identity/auth.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/sdk/knowledge/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/sdk/knowledge/client.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/sdk/knowledge/types.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/sdk/mcp/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/sdk/mcp/client.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/sdk/mcp/types.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/sdk/memory/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/sdk/memory/client.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/sdk/memory/types.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/sdk/runtime/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/sdk/runtime/client.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/sdk/runtime/types.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/sdk/skills/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/sdk/skills/client.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/sdk/skills/types.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/sdk/tools/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/sdk/tools/client.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/sdk/tools/types.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/builders/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/builders/base.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/builders/local_docker.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/cli/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/cli/__main__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/cli/cli.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/cli/cli_build.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/cli/cli_config.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/cli/cli_deploy.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/cli/cli_destroy.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/cli/cli_init.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/cli/cli_invoke.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/cli/cli_knowledge.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/cli/cli_launch.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/cli/cli_memory.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/cli/cli_runtime.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/cli/cli_skills.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/cli/cli_skills_workflow.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/cli/cli_status.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/cli/cli_tools.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/cli/cli_version.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/cli/console_reporter.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/cli/interactive_config.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/cli/utils.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/config/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/config/choice_resolvers.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/config/cloud_provider.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/config/config.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/config/config_handler.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/config/config_validator.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/config/constants.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/config/dataclass_utils.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/config/docker_build_config.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/config/global_config.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/config/region_defaults.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/config/region_resolver.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/config/strategy_configs.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/config/utils.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/context.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/docker/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/docker/base_images.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/docker/container.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/docker/dockerfile/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/docker/dockerfile/manager.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/docker/dockerfile/metadata.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/docker/utils.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/errors.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/executors/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/executors/base_executor.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/executors/build_executor.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/executors/deploy_executor.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/executors/init_executor.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/executors/invoke_executor.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/executors/lifecycle_executor.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/executors/status_executor.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/models.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/reporter.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/__pycache__/customer_support_assistant.cpython-312.pyc +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/__pycache__/financial_analyst.cpython-312.pyc +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/__pycache__/simple_app_veadk.cpython-312.pyc +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/__pycache__/simple_mcp_veadk.cpython-312.pyc +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/a2a.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/agent_server.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/basic.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/basic_stream.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/customer_support_assistant.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/eino_a2a/agent.go +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/eino_a2a/build.sh +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/eino_a2a/go.mod +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/eino_a2a/go.sum +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/eino_a2a/main.go +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/financial_analyst.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/langchain_basic_stream.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/simple_app_veadk.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/simple_mcp_veadk.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/veadk_go_a2a/agent.go +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/veadk_go_a2a/build.sh +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/veadk_go_a2a/go.mod +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/veadk_go_a2a/go.sum +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/veadk_go_a2a/main.go +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/veadk_go_basic/agent.go +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/veadk_go_basic/build.sh +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/veadk_go_basic/go.mod +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/veadk_go_basic/go.sum +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/veadk_go_basic/main.go +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/templates/code-pipeline-tos-cr-step.j2 +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/templates/golang/Dockerfile.j2 +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/templates/python/Dockerfile.j2 +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/wrappers/wrapper_basic.py.jinja2 +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/wrappers/wrapper_stream.py.jinja2 +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/runners/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/runners/base.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/runners/local_docker.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/runners/ve_agentkit.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/sdk/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/sdk/bindings/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/sdk/bindings/memory.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/sdk/builder.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/sdk/client.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/sdk/config.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/sdk/deployer.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/sdk/initializer.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/sdk/invoker.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/sdk/lifecycle.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/sdk/status.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/strategies/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/strategies/base_strategy.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/strategies/cloud_strategy.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/strategies/hybrid_strategy.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/strategies/local_strategy.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/utils/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/utils/agent_parser.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/volcengine/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/volcengine/code_pipeline.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/volcengine/cr.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/volcengine/iam.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/volcengine/services/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/volcengine/services/cr_service.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/volcengine/sts.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/volcengine/utils/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/volcengine/utils/project_archiver.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/utils/__init__.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/utils/global_config_io.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/utils/logging_config.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/utils/misc.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/utils/request.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/utils/template_utils.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/utils/ve_sign.py +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit_sdk_python.egg-info/dependency_links.txt +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit_sdk_python.egg-info/entry_points.txt +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit_sdk_python.egg-info/requires.txt +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit_sdk_python.egg-info/top_level.txt +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/setup.cfg +0 -0
- {agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/tests/test_client_uses_platform_context.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentkit-sdk-python
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.10
|
|
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
|
|
@@ -49,6 +49,13 @@ from veadk.runner import Runner
|
|
|
49
49
|
from agentkit.apps.agent_server_app.middleware import (
|
|
50
50
|
AgentkitTelemetryHTTPMiddleware,
|
|
51
51
|
)
|
|
52
|
+
from agentkit.apps.agent_server_app.origin import (
|
|
53
|
+
add_cors_compat_middleware,
|
|
54
|
+
adk_supports_regex_origins,
|
|
55
|
+
resolve_agentkit_allow_origins,
|
|
56
|
+
split_allow_origins,
|
|
57
|
+
supports_get_fast_api_kwarg,
|
|
58
|
+
)
|
|
52
59
|
from agentkit.apps.agent_server_app.telemetry import telemetry
|
|
53
60
|
from agentkit.apps.base_app import BaseAgentkitApp
|
|
54
61
|
|
|
@@ -101,6 +108,7 @@ class AgentkitAgentServerApp(BaseAgentkitApp):
|
|
|
101
108
|
*,
|
|
102
109
|
app: App | None = None,
|
|
103
110
|
allow_origins: list[str] | None = None,
|
|
111
|
+
allow_origin_regex: str | list[str] | None = None,
|
|
104
112
|
) -> None:
|
|
105
113
|
super().__init__()
|
|
106
114
|
|
|
@@ -153,9 +161,36 @@ class AgentkitAgentServerApp(BaseAgentkitApp):
|
|
|
153
161
|
await handler()
|
|
154
162
|
yield
|
|
155
163
|
|
|
156
|
-
|
|
157
|
-
|
|
164
|
+
resolved_allow_origins = resolve_agentkit_allow_origins(
|
|
165
|
+
allow_origins=allow_origins,
|
|
166
|
+
allow_origin_regex=allow_origin_regex,
|
|
167
|
+
)
|
|
168
|
+
get_fast_api_app = self.server.get_fast_api_app
|
|
169
|
+
get_fast_api_app_kwargs: dict[str, Any] = {"lifespan": lifespan}
|
|
170
|
+
supports_allow_origins = supports_get_fast_api_kwarg(
|
|
171
|
+
get_fast_api_app, "allow_origins"
|
|
158
172
|
)
|
|
173
|
+
supports_regex_origins = adk_supports_regex_origins()
|
|
174
|
+
needs_cors_compat_middleware = False
|
|
175
|
+
|
|
176
|
+
if supports_allow_origins:
|
|
177
|
+
if supports_regex_origins:
|
|
178
|
+
get_fast_api_app_kwargs["allow_origins"] = (
|
|
179
|
+
resolved_allow_origins or None
|
|
180
|
+
)
|
|
181
|
+
else:
|
|
182
|
+
literal_origins, combined_regex = split_allow_origins(
|
|
183
|
+
resolved_allow_origins
|
|
184
|
+
)
|
|
185
|
+
get_fast_api_app_kwargs["allow_origins"] = literal_origins or None
|
|
186
|
+
needs_cors_compat_middleware = combined_regex is not None
|
|
187
|
+
else:
|
|
188
|
+
needs_cors_compat_middleware = bool(resolved_allow_origins)
|
|
189
|
+
|
|
190
|
+
self.app = get_fast_api_app(**get_fast_api_app_kwargs)
|
|
191
|
+
|
|
192
|
+
if needs_cors_compat_middleware:
|
|
193
|
+
add_cors_compat_middleware(self.app, resolved_allow_origins)
|
|
159
194
|
|
|
160
195
|
@self.app.post("/run_sse")
|
|
161
196
|
async def run_agent_sse(req: RunAgentRequest) -> StreamingResponse:
|
|
@@ -0,0 +1,190 @@
|
|
|
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
|
+
import inspect
|
|
16
|
+
import os
|
|
17
|
+
import re
|
|
18
|
+
from collections.abc import Callable
|
|
19
|
+
from typing import Any
|
|
20
|
+
|
|
21
|
+
from fastapi import FastAPI
|
|
22
|
+
from fastapi.middleware.cors import CORSMiddleware
|
|
23
|
+
|
|
24
|
+
_REGEX_PREFIX = "regex:"
|
|
25
|
+
|
|
26
|
+
DEFAULT_AGENTKIT_ALLOW_ORIGINS = ["*"]
|
|
27
|
+
|
|
28
|
+
STRICT_AGENTKIT_HOSTED_ORIGINS = [
|
|
29
|
+
"https://console.volcengine.com",
|
|
30
|
+
"https://console.byteplus.com",
|
|
31
|
+
"regex:https://.*\\.volcengine\\.com",
|
|
32
|
+
"regex:https://.*\\.volceapi\\.com",
|
|
33
|
+
"regex:https://.*\\.byteplus\\.com",
|
|
34
|
+
"regex:https://.*\\.byteplusapi\\.com",
|
|
35
|
+
]
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def resolve_agentkit_allow_origins(
|
|
39
|
+
*,
|
|
40
|
+
allow_origins: list[str] | None,
|
|
41
|
+
allow_origin_regex: str | list[str] | None = None,
|
|
42
|
+
) -> list[str]:
|
|
43
|
+
"""Resolve AgentKit CORS origins with SDK defaults and env overrides."""
|
|
44
|
+
|
|
45
|
+
env_origins = _get_env_list("AGENTKIT_ALLOW_ORIGINS", "ADK_ALLOW_ORIGINS")
|
|
46
|
+
env_regexes = _get_env_list(
|
|
47
|
+
"AGENTKIT_ALLOW_ORIGIN_REGEX",
|
|
48
|
+
"ADK_ALLOW_ORIGIN_REGEX",
|
|
49
|
+
)
|
|
50
|
+
if allow_origins is not None:
|
|
51
|
+
origins = list(allow_origins)
|
|
52
|
+
elif env_origins is not None or env_regexes is not None:
|
|
53
|
+
origins = env_origins or []
|
|
54
|
+
elif _truthy_env("AGENTKIT_DISABLE_DEFAULT_ALLOW_ORIGINS"):
|
|
55
|
+
origins = []
|
|
56
|
+
else:
|
|
57
|
+
origins = list(DEFAULT_AGENTKIT_ALLOW_ORIGINS)
|
|
58
|
+
|
|
59
|
+
if allow_origin_regex is None:
|
|
60
|
+
regexes = env_regexes or []
|
|
61
|
+
else:
|
|
62
|
+
regexes = _as_list(allow_origin_regex)
|
|
63
|
+
|
|
64
|
+
resolved = [_normalize_origin(origin) for origin in origins]
|
|
65
|
+
resolved.extend(_normalize_regex(pattern) for pattern in regexes)
|
|
66
|
+
|
|
67
|
+
deduped = _dedupe(resolved)
|
|
68
|
+
_validate_regex_origins(deduped)
|
|
69
|
+
return deduped
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
def split_allow_origins(allow_origins: list[str]) -> tuple[list[str], str | None]:
|
|
73
|
+
"""Split ADK-style origins into literal origins and a combined regex."""
|
|
74
|
+
|
|
75
|
+
literal_origins: list[str] = []
|
|
76
|
+
regex_patterns: list[str] = []
|
|
77
|
+
for origin in allow_origins:
|
|
78
|
+
if origin.startswith(_REGEX_PREFIX):
|
|
79
|
+
pattern = origin[len(_REGEX_PREFIX) :]
|
|
80
|
+
if pattern:
|
|
81
|
+
regex_patterns.append(pattern)
|
|
82
|
+
else:
|
|
83
|
+
literal_origins.append(origin)
|
|
84
|
+
|
|
85
|
+
return literal_origins, "|".join(regex_patterns) if regex_patterns else None
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
def supports_get_fast_api_kwarg(func: Callable[..., Any], kwarg_name: str) -> bool:
|
|
89
|
+
"""Return whether a callable accepts a given keyword argument."""
|
|
90
|
+
|
|
91
|
+
try:
|
|
92
|
+
signature = inspect.signature(func)
|
|
93
|
+
except (TypeError, ValueError):
|
|
94
|
+
return True
|
|
95
|
+
|
|
96
|
+
for parameter in signature.parameters.values():
|
|
97
|
+
if parameter.kind == inspect.Parameter.VAR_KEYWORD:
|
|
98
|
+
return True
|
|
99
|
+
return kwarg_name in signature.parameters
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
def adk_supports_regex_origins() -> bool:
|
|
103
|
+
"""Return whether installed ADK understands `regex:` allow_origins entries."""
|
|
104
|
+
|
|
105
|
+
try:
|
|
106
|
+
from google.adk.cli import adk_web_server
|
|
107
|
+
|
|
108
|
+
return hasattr(adk_web_server, "_parse_cors_origins")
|
|
109
|
+
except Exception:
|
|
110
|
+
return False
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
def add_cors_compat_middleware(app: FastAPI, allow_origins: list[str]) -> None:
|
|
114
|
+
"""Add CORS middleware for ADK versions that cannot parse regex origins."""
|
|
115
|
+
|
|
116
|
+
literal_origins, allow_origin_regex = split_allow_origins(allow_origins)
|
|
117
|
+
app.add_middleware(
|
|
118
|
+
CORSMiddleware,
|
|
119
|
+
allow_origins=literal_origins,
|
|
120
|
+
allow_origin_regex=allow_origin_regex,
|
|
121
|
+
allow_credentials=True,
|
|
122
|
+
allow_methods=["*"],
|
|
123
|
+
allow_headers=["*"],
|
|
124
|
+
)
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
def _normalize_origin(origin: str) -> str:
|
|
128
|
+
origin = origin.strip()
|
|
129
|
+
if not origin or origin == "*" or origin.startswith(_REGEX_PREFIX):
|
|
130
|
+
return origin
|
|
131
|
+
if "*" in origin:
|
|
132
|
+
return _normalize_regex(_glob_to_regex(origin))
|
|
133
|
+
return origin
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
def _normalize_regex(pattern: str) -> str:
|
|
137
|
+
pattern = pattern.strip()
|
|
138
|
+
if not pattern:
|
|
139
|
+
return pattern
|
|
140
|
+
if pattern.startswith(_REGEX_PREFIX):
|
|
141
|
+
return pattern
|
|
142
|
+
return f"{_REGEX_PREFIX}{pattern}"
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
def _glob_to_regex(origin: str) -> str:
|
|
146
|
+
return re.escape(origin).replace("\\*", ".*")
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
def _validate_regex_origins(origins: list[str]) -> None:
|
|
150
|
+
for origin in origins:
|
|
151
|
+
if not origin.startswith(_REGEX_PREFIX):
|
|
152
|
+
continue
|
|
153
|
+
pattern = origin[len(_REGEX_PREFIX) :]
|
|
154
|
+
try:
|
|
155
|
+
re.compile(pattern)
|
|
156
|
+
except re.error as e:
|
|
157
|
+
raise ValueError(f"Invalid allow origin regex '{pattern}': {e}") from e
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
def _get_env_list(*names: str) -> list[str] | None:
|
|
161
|
+
for name in names:
|
|
162
|
+
value = os.getenv(name)
|
|
163
|
+
if value is None:
|
|
164
|
+
continue
|
|
165
|
+
return [item.strip() for item in value.split(",") if item.strip()]
|
|
166
|
+
return None
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
def _truthy_env(name: str) -> bool:
|
|
170
|
+
value = os.getenv(name, "")
|
|
171
|
+
return value.lower() in {"1", "true", "yes", "on"}
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
def _as_list(value: str | list[str] | None) -> list[str]:
|
|
175
|
+
if value is None:
|
|
176
|
+
return []
|
|
177
|
+
if isinstance(value, str):
|
|
178
|
+
return [value]
|
|
179
|
+
return list(value)
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
def _dedupe(values: list[str]) -> list[str]:
|
|
183
|
+
seen: set[str] = set()
|
|
184
|
+
deduped: list[str] = []
|
|
185
|
+
for value in values:
|
|
186
|
+
if not value or value in seen:
|
|
187
|
+
continue
|
|
188
|
+
seen.add(value)
|
|
189
|
+
deduped.append(value)
|
|
190
|
+
return deduped
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/builders/ve_pipeline.py
RENAMED
|
@@ -952,6 +952,7 @@ class VeCPCRBuilder(Builder):
|
|
|
952
952
|
import time
|
|
953
953
|
|
|
954
954
|
created_in_this_run = False
|
|
955
|
+
name_conflict_not_created = False
|
|
955
956
|
|
|
956
957
|
# Step 1: ensure bucket exists / accessible
|
|
957
958
|
if auto_created_bucket:
|
|
@@ -988,9 +989,7 @@ class VeCPCRBuilder(Builder):
|
|
|
988
989
|
created_in_this_run = True
|
|
989
990
|
except tos.exceptions.TosServerError as e:
|
|
990
991
|
if e.status_code == 409:
|
|
991
|
-
|
|
992
|
-
# Ownership verification in step 2 will block the upload.
|
|
993
|
-
pass
|
|
992
|
+
name_conflict_not_created = True
|
|
994
993
|
else:
|
|
995
994
|
raise
|
|
996
995
|
|
|
@@ -1032,10 +1031,43 @@ class VeCPCRBuilder(Builder):
|
|
|
1032
1031
|
)
|
|
1033
1032
|
raise Exception(error_msg)
|
|
1034
1033
|
|
|
1034
|
+
if name_conflict_not_created and owned:
|
|
1035
|
+
actual_location = tos_service.get_bucket_location(bucket_name)
|
|
1036
|
+
current_region = getattr(
|
|
1037
|
+
tos_service, "actual_region", config.tos_region
|
|
1038
|
+
)
|
|
1039
|
+
if actual_location:
|
|
1040
|
+
raise Exception(
|
|
1041
|
+
f"TOS bucket '{bucket_name}' exists in region '{actual_location}', "
|
|
1042
|
+
f"but the current configuration targets region '{current_region}'. "
|
|
1043
|
+
"TOS buckets are region-scoped and cannot be accessed across regions. "
|
|
1044
|
+
"Please either switch to the bucket's region or use a different bucket name "
|
|
1045
|
+
f"(e.g. '{bucket_name}-{current_region.split('-')[-1]}')."
|
|
1046
|
+
)
|
|
1047
|
+
else:
|
|
1048
|
+
raise Exception(
|
|
1049
|
+
f"TOS bucket '{bucket_name}' is owned by your account but does not exist "
|
|
1050
|
+
f"in the current region '{current_region}'. It may reside in another region. "
|
|
1051
|
+
"TOS buckets are region-scoped and cannot be accessed across regions. "
|
|
1052
|
+
"Please either switch to the bucket's region or use a different bucket name."
|
|
1053
|
+
)
|
|
1054
|
+
|
|
1035
1055
|
self.reporter.success(
|
|
1036
1056
|
f"TOS bucket ownership verified for current account: {bucket_name}"
|
|
1037
1057
|
)
|
|
1038
1058
|
|
|
1059
|
+
if created_in_this_run:
|
|
1060
|
+
data_plane_timeout_s = 30
|
|
1061
|
+
data_plane_interval_s = 3
|
|
1062
|
+
data_plane_deadline = time.time() + data_plane_timeout_s
|
|
1063
|
+
while not tos_service.bucket_exists():
|
|
1064
|
+
if time.time() >= data_plane_deadline:
|
|
1065
|
+
raise Exception(
|
|
1066
|
+
f"TOS bucket '{bucket_name}' was created but is not yet "
|
|
1067
|
+
"available for uploads. Please retry in a few seconds."
|
|
1068
|
+
)
|
|
1069
|
+
time.sleep(data_plane_interval_s)
|
|
1070
|
+
|
|
1039
1071
|
# Update config with auto-generated bucket name if applicable
|
|
1040
1072
|
if auto_created_bucket:
|
|
1041
1073
|
config.tos_bucket = bucket_name
|
|
@@ -266,6 +266,30 @@ class TOSService:
|
|
|
266
266
|
return False
|
|
267
267
|
return name in set(self.list_bucket_names())
|
|
268
268
|
|
|
269
|
+
def get_bucket_location(self, bucket_name: Optional[str] = None) -> Optional[str]:
|
|
270
|
+
"""Return the region (location) of a bucket owned by this account.
|
|
271
|
+
|
|
272
|
+
Uses the already-available ListBuckets data so no extra API call is needed
|
|
273
|
+
beyond what ``bucket_is_owned`` / ``list_bucket_names`` already do.
|
|
274
|
+
|
|
275
|
+
Args:
|
|
276
|
+
bucket_name: Bucket name to look up. Defaults to configured bucket.
|
|
277
|
+
|
|
278
|
+
Returns:
|
|
279
|
+
The region string (e.g. ``"cn-beijing"``) or ``None`` if not found.
|
|
280
|
+
"""
|
|
281
|
+
name = bucket_name or self.config.bucket
|
|
282
|
+
if not name:
|
|
283
|
+
return None
|
|
284
|
+
try:
|
|
285
|
+
out = self.client.list_buckets()
|
|
286
|
+
for b in getattr(out, "buckets", None) or []:
|
|
287
|
+
if getattr(b, "name", None) == name:
|
|
288
|
+
return getattr(b, "location", None)
|
|
289
|
+
except Exception as e:
|
|
290
|
+
logger.warning(f"Failed to get bucket location: {str(e)}")
|
|
291
|
+
return None
|
|
292
|
+
|
|
269
293
|
def bucket_exists(self) -> bool:
|
|
270
294
|
"""Check if the configured bucket exists.
|
|
271
295
|
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit_sdk_python.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentkit-sdk-python
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.10
|
|
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
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit_sdk_python.egg-info/SOURCES.txt
RENAMED
|
@@ -13,6 +13,7 @@ agentkit/apps/a2a_app/telemetry.py
|
|
|
13
13
|
agentkit/apps/agent_server_app/__init__.py
|
|
14
14
|
agentkit/apps/agent_server_app/agent_server_app.py
|
|
15
15
|
agentkit/apps/agent_server_app/middleware.py
|
|
16
|
+
agentkit/apps/agent_server_app/origin.py
|
|
16
17
|
agentkit/apps/agent_server_app/telemetry.py
|
|
17
18
|
agentkit/apps/mcp_app/__init__.py
|
|
18
19
|
agentkit/apps/mcp_app/mcp_app.py
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "agentkit-sdk-python"
|
|
3
|
-
version = "0.5.
|
|
3
|
+
version = "0.5.10"
|
|
4
4
|
description = "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
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.10"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/apps/agent_server_app/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/apps/agent_server_app/telemetry.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/apps/simple_app/__init__.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/apps/simple_app/simple_app.py
RENAMED
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/apps/simple_app/telemetry.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/client/base_agentkit_client.py
RENAMED
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/client/base_service_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/builders/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/builders/local_docker.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/cli/cli_destroy.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/cli/cli_knowledge.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/cli/cli_runtime.py
RENAMED
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/cli/cli_skills_workflow.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/cli/cli_version.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/cli/console_reporter.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/cli/interactive_config.py
RENAMED
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/config/__init__.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/config/choice_resolvers.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/config/cloud_provider.py
RENAMED
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/config/config_handler.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/config/config_validator.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/config/constants.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/config/dataclass_utils.py
RENAMED
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/config/global_config.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/config/region_defaults.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/config/region_resolver.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/config/strategy_configs.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/docker/__init__.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/docker/base_images.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/docker/container.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/executors/__init__.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/executors/base_executor.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/executors/init_executor.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/a2a.py
RENAMED
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/resources/samples/basic.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/runners/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/runners/local_docker.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/runners/ve_agentkit.py
RENAMED
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/sdk/bindings/__init__.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/sdk/bindings/memory.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/sdk/initializer.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/strategies/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/utils/agent_parser.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit/toolkit/volcengine/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit_sdk_python.egg-info/requires.txt
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/agentkit_sdk_python.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.5.8 → agentkit_sdk_python-0.5.10}/tests/test_client_uses_platform_context.py
RENAMED
|
File without changes
|